Cleanup: remove _POSIX_C_SOURCE undefine
authorCampbell Barton <ideasman42@gmail.com>
Tue, 20 Oct 2015 03:06:29 +0000 (14:06 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 20 Oct 2015 03:06:29 +0000 (14:06 +1100)
source/blender/python/generic/bpy_threads.c
source/blender/python/intern/bpy_interface.c
source/blender/python/intern/gpu.c
source/gameengine/Ketsji/KX_PythonInit.cpp

index 63a47ff0b20d94ed026605de53596fb26cc42da6..fbc145660f3e6b1ae0adefd4e829839eda20be04 100644 (file)
  * these functions are slightly different from the original Python API,
  * don't throw SIGABRT even if the thread state is NULL. */
 
-/* grr, python redefines */
-#ifdef _POSIX_C_SOURCE
-#  undef _POSIX_C_SOURCE
-#endif
-
 #include <Python.h>
 
 #include "BLI_utildefines.h"
index 04e49f96aa633dd844c53895918f22118fa97e40..d10816b809fc4922aade52fb7f1dd603d2fc0ba8 100644 (file)
  * be accesses from scripts.
  */
 
-/* grr, python redefines */
-#ifdef _POSIX_C_SOURCE
-#  undef _POSIX_C_SOURCE
-#endif
-
 #include <Python.h>
 
 #ifdef WIN32
index bc15e109901e0226ee437946c00e7dbf09ecdd75..65b2e97f4613f7b2360c04ae92a4644699184e26 100644 (file)
  * from blender materials.
  */
 
-/* python redefines */
-#ifdef _POSIX_C_SOURCE
-#undef _POSIX_C_SOURCE
-#endif
-
 #include <Python.h>
 
 #include "DNA_scene_types.h"
index 48d8be55120f58b53947d6051243e3db33e5ce94..37768c75ba54742e460fa7a9c24616267f7e759c 100644 (file)
@@ -37,9 +37,6 @@
 #endif
 
 #ifdef WITH_PYTHON
-#  ifdef   _POSIX_C_SOURCE
-#    undef _POSIX_C_SOURCE
-#  endif
 #  ifdef   _XOPEN_SOURCE
 #    undef _XOPEN_SOURCE
 #  endif