Some small fixes to get things compiling on solaris with cmake.
[blender.git] / source / gameengine / Ketsji / KX_PythonInit.cpp
index 9a2c0cb89b149655bcd83b487c9ae0d804163ca8..114ca735265f006089033b047ed725c28853eafd 100644 (file)
 #undef _XOPEN_SOURCE
 #endif
 
+#if defined(__sun) || defined(sun) 
+#if defined(_XPG4) 
+#undef _XPG4 
+#endif 
+#endif 
+
 #include <Python.h>
 
 extern "C" {