Fixed compilation error with msvc caused by recent libmv commit
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 14 Nov 2011 10:47:34 +0000 (10:47 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 14 Nov 2011 10:47:34 +0000 (10:47 +0000)
extern/libmv/libmv/tracking/esm_region_tracker.cc

index 2e5c255e1534e556bdb0a15890dd40ce2e8fe669..01edee3bbb524e4f9acc155d9d540c750535e2ac 100644 (file)
@@ -18,6 +18,8 @@
 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
 // IN THE SOFTWARE.
 
+#define _USE_MATH_DEFINES
+
 #include "libmv/tracking/esm_region_tracker.h"
 
 #include "libmv/logging/logging.h"