fixed build on Windows with MSVC2010
This commit is contained in:
@@ -1,2 +1,4 @@
|
||||
#define GTEST_CREATE_AS_SHARED_LIBRARY 1
|
||||
|
||||
#include "opencv2/ts/ts.hpp"
|
||||
#include "opencv2/core/core_c.h"
|
||||
|
@@ -68,7 +68,7 @@ namespace cvtest
|
||||
|
||||
#if defined WIN32 || defined _WIN32 || defined WIN64 || defined _WIN64
|
||||
#ifdef _MSC_VER
|
||||
static void setSEHTranslator( unsigned int /*u*/, EXCEPTION_POINTERS* pExp )
|
||||
static void SEHTranslator( unsigned int /*u*/, EXCEPTION_POINTERS* pExp )
|
||||
{
|
||||
int code = TS::FAIL_EXCEPTION;
|
||||
switch( pExp->ExceptionRecord->ExceptionCode )
|
||||
|
Reference in New Issue
Block a user