Cleanup: remove _POSIX_C_SOURCE undefine
This commit is contained in:
parent
ed7c7a0a05
commit
70dfb61300
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
@ -37,9 +37,6 @@
|
||||
#endif
|
||||
|
||||
#ifdef WITH_PYTHON
|
||||
# ifdef _POSIX_C_SOURCE
|
||||
# undef _POSIX_C_SOURCE
|
||||
# endif
|
||||
# ifdef _XOPEN_SOURCE
|
||||
# undef _XOPEN_SOURCE
|
||||
# endif
|
||||
|
Loading…
Reference in New Issue
Block a user