Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions extern/ttconv/pprdrv_tt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,11 @@
#ifdef _POSIX_C_SOURCE
# undef _POSIX_C_SOURCE
#endif
#ifndef _AIX
#ifdef _XOPEN_SOURCE
# undef _XOPEN_SOURCE
#endif
#endif
#include <Python.h>

/*==========================================================================
Expand Down
2 changes: 2 additions & 0 deletions src/_png.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ extern "C" {
# ifdef _POSIX_C_SOURCE
# undef _POSIX_C_SOURCE
# endif
# ifndef _AIX
# ifdef _XOPEN_SOURCE
# undef _XOPEN_SOURCE
# endif
# endif
}

#include "numpy_cpp.h"
Expand Down
2 changes: 2 additions & 0 deletions src/mplutils.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ typedef unsigned __int8 uint8_t;
#ifdef _POSIX_C_SOURCE
# undef _POSIX_C_SOURCE
#endif
#ifndef _AIX
#ifdef _XOPEN_SOURCE
# undef _XOPEN_SOURCE
#endif
#endif

// Prevent multiple conflicting definitions of swab from stdlib.h and unistd.h
#if defined(__sun) || defined(sun)
Expand Down
2 changes: 2 additions & 0 deletions src/numpy_cpp.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@
#ifdef _POSIX_C_SOURCE
# undef _POSIX_C_SOURCE
#endif
#ifndef _AIX
#ifdef _XOPEN_SOURCE
# undef _XOPEN_SOURCE
#endif
#endif

// Prevent multiple conflicting definitions of swab from stdlib.h and unistd.h
#if defined(__sun) || defined(sun)
Expand Down