Commit 6767f1db authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

added dummy symbol to flann to make OpenCV compile on Windows

parent 24cb30fe
...@@ -46,6 +46,11 @@ public: ...@@ -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();
} }
......
...@@ -28,5 +28,4 @@ ...@@ -28,5 +28,4 @@
#include "precomp.hpp" #include "precomp.hpp"
void cvflann::dummyfunc() {}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment