Fix warning for redefinition of __MSVCRT_VERSION__
authorAntony Riakiotakis <kalast@gmail.com>
Sun, 4 Dec 2011 14:47:21 +0000 (14:47 +0000)
committerAntony Riakiotakis <kalast@gmail.com>
Sun, 4 Dec 2011 14:47:21 +0000 (14:47 +0000)
extern/libmv/libmv/tracking/brute_region_tracker.cc

index 5b840e10857905da301f87e2f4a416a95836a268..c33432b7fd7492b7df90dad18b8ec8258ec715ad 100644 (file)
 // Needed for memalign on Linux and _aligned_alloc on Windows.
 #ifdef FREE_WINDOWS
 /* make sure _aligned_malloc is included */
+#ifdef __MSVCRT_VERSION__
+#undef __MSVCRT_VERSION__
+#endif
+
 #define __MSVCRT_VERSION__ 0x0700
 #endif