added dummy symbol to flann to make OpenCV compile on Windows

pull/13383/head
Vadim Pisarevsky 14 years ago
parent 24cb30fed5
commit 6767f1db9e
  1. 5
      modules/flann/include/opencv2/flann/general.h
  2. 3
      modules/flann/src/flann.cpp

@ -46,6 +46,11 @@ public:
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 @@
#include "precomp.hpp"
void cvflann::dummyfunc() {}

Loading…
Cancel
Save