added dummy symbol to flann to make OpenCV compile on Windows

This commit is contained in:
Vadim Pisarevsky 2011-06-20 08:42:08 +00:00
parent 24cb30fed5
commit 6767f1db9e
2 changed files with 6 additions and 2 deletions

View File

@ -46,6 +46,11 @@ public:
FLANNException(const std::string& message) : std::runtime_error(message) { } FLANNException(const std::string& message) : std::runtime_error(message) { }
}; };
#if (defined WIN32 || defined _WIN32 || defined WINCE) && defined CVAPI_EXPORTS
__declspec(dllexport)
#endif
void dummyfunc();
} }

View File

@ -28,5 +28,4 @@
#include "precomp.hpp" #include "precomp.hpp"
void cvflann::dummyfunc() {}