From 35ce3f8a49585b6e8cdd54b06edd492afe248062 Mon Sep 17 00:00:00 2001 From: Frederic Bouvier Date: Sat, 10 Nov 2012 19:29:44 +0100 Subject: [PATCH] MSVC 10 compile fix --- src/Lib/Polygon/polygon.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Lib/Polygon/polygon.cxx b/src/Lib/Polygon/polygon.cxx index edc3cd29..a65499c6 100644 --- a/src/Lib/Polygon/polygon.cxx +++ b/src/Lib/Polygon/polygon.cxx @@ -35,6 +35,10 @@ #include "polygon.hxx" +#ifdef _MSC_VER +# define LONG_LONG_MAX LLONG_MAX +#endif + using std::endl; using std::cout;