Cleanup: remove _POSIX_C_SOURCE undefine

This commit is contained in:
Campbell Barton 2015-10-20 14:06:29 +11:00
parent ed7c7a0a05
commit 70dfb61300
4 changed files with 0 additions and 19 deletions

View File

@ -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"

View File

@ -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

View File

@ -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"

View 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