Cleanup: remove _POSIX_C_SOURCE undefine
This commit is contained in:
@@ -27,11 +27,6 @@
|
|||||||
* these functions are slightly different from the original Python API,
|
* these functions are slightly different from the original Python API,
|
||||||
* don't throw SIGABRT even if the thread state is NULL. */
|
* 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 <Python.h>
|
||||||
|
|
||||||
#include "BLI_utildefines.h"
|
#include "BLI_utildefines.h"
|
||||||
|
@@ -29,12 +29,6 @@
|
|||||||
* be accesses from scripts.
|
* be accesses from scripts.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
/* grr, python redefines */
|
|
||||||
#ifdef _POSIX_C_SOURCE
|
|
||||||
# undef _POSIX_C_SOURCE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <Python.h>
|
#include <Python.h>
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
|
@@ -32,11 +32,6 @@
|
|||||||
* from blender materials.
|
* from blender materials.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* python redefines */
|
|
||||||
#ifdef _POSIX_C_SOURCE
|
|
||||||
#undef _POSIX_C_SOURCE
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <Python.h>
|
#include <Python.h>
|
||||||
|
|
||||||
#include "DNA_scene_types.h"
|
#include "DNA_scene_types.h"
|
||||||
|
@@ -37,9 +37,6 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef WITH_PYTHON
|
#ifdef WITH_PYTHON
|
||||||
# ifdef _POSIX_C_SOURCE
|
|
||||||
# undef _POSIX_C_SOURCE
|
|
||||||
# endif
|
|
||||||
# ifdef _XOPEN_SOURCE
|
# ifdef _XOPEN_SOURCE
|
||||||
# undef _XOPEN_SOURCE
|
# undef _XOPEN_SOURCE
|
||||||
# endif
|
# endif
|
||||||
|
Reference in New Issue
Block a user