fixed build on Windows

pull/1663/head
Vadim Pisarevsky 11 years ago
parent de521fc9fa
commit 5a34272150
  1. 2
      modules/core/src/precomp.hpp
  2. 2
      modules/core/src/system.cpp

@ -106,7 +106,7 @@ extern const uchar g_Saturate8u[];
#if defined WIN32 || defined _WIN32
void deleteThreadAllocData();
void deleteThreadRNGData();
void deleteThreadData();
#endif
template<typename T1, typename T2=T1, typename T3=T1> struct OpAdd

@ -716,7 +716,7 @@ BOOL WINAPI DllMain( HINSTANCE, DWORD fdwReason, LPVOID )
if( fdwReason == DLL_THREAD_DETACH || fdwReason == DLL_PROCESS_DETACH )
{
cv::deleteThreadAllocData();
cv::deleteThreadRNGData();
cv::deleteThreadData();
}
return TRUE;
}

Loading…
Cancel
Save