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 63a47ff..fbc1456 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 04e49f9..d10816b 100644 (file)
  * be accesses from scripts.
  */
 
-/* grr, python redefines */
-#ifdef _POSIX_C_SOURCE
-#  undef _POSIX_C_SOURCE
-#endif
-
 #include <Python.h>
 
 #ifdef WIN32
index bc15e10..65b2e97 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 48d8be5..37768c7 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