diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-10-20 06:06:29 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-10-20 06:06:29 +0300 |
commit | 70dfb6130042cea53956c2044d409a55fb814d2f (patch) | |
tree | 0ebcd4ec29de9373d459c2a75dd5b04fea38b46a /source/blender/python | |
parent | ed7c7a0a051b99b888c2898f4590740023b2bb7f (diff) |
Cleanup: remove _POSIX_C_SOURCE undefine
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/generic/bpy_threads.c | 5 | ||||
-rw-r--r-- | source/blender/python/intern/bpy_interface.c | 6 | ||||
-rw-r--r-- | source/blender/python/intern/gpu.c | 5 |
3 files changed, 0 insertions, 16 deletions
diff --git a/source/blender/python/generic/bpy_threads.c b/source/blender/python/generic/bpy_threads.c index 63a47ff0b20..fbc145660f3 100644 --- a/source/blender/python/generic/bpy_threads.c +++ b/source/blender/python/generic/bpy_threads.c @@ -27,11 +27,6 @@ * 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" diff --git a/source/blender/python/intern/bpy_interface.c b/source/blender/python/intern/bpy_interface.c index 04e49f96aa6..d10816b809f 100644 --- a/source/blender/python/intern/bpy_interface.c +++ b/source/blender/python/intern/bpy_interface.c @@ -29,12 +29,6 @@ * be accesses from scripts. */ - -/* grr, python redefines */ -#ifdef _POSIX_C_SOURCE -# undef _POSIX_C_SOURCE -#endif - #include <Python.h> #ifdef WIN32 diff --git a/source/blender/python/intern/gpu.c b/source/blender/python/intern/gpu.c index bc15e109901..65b2e97f461 100644 --- a/source/blender/python/intern/gpu.c +++ b/source/blender/python/intern/gpu.c @@ -32,11 +32,6 @@ * from blender materials. */ -/* python redefines */ -#ifdef _POSIX_C_SOURCE -#undef _POSIX_C_SOURCE -#endif - #include <Python.h> #include "DNA_scene_types.h" |