summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2014-09-19 11:51:43 -0500
committerRuben Pollan <meskio@sindominio.net>2014-09-19 14:00:48 -0500
commit3b45e320964edee7cd9b114935ead200ff8e9c3a (patch)
tree39afdb5c446779f86a98db27853a10d632f4c499
parentf3602cd5a58511a48ce572868d1369f2fb94e1ff (diff)
Prevent incompatibility issues with c++11
Set BOOST_NO_CXX11_SCOPED_ENUMS fixes it
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 78aba3a..d2f744a 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -5,8 +5,10 @@
#include <cstdlib>
#include <boost/python.hpp>
+#define BOOST_NO_CXX11_SCOPED_ENUMS
#include <boost/filesystem/operations.hpp>
#include <boost/filesystem/path.hpp>
+#undef BOOST_NO_CXX11_SCOPED_ENUMS
#include <boost/algorithm/string/predicate.hpp>
#include <frameobject.h>