diff options
author | falkTX <falktx@falktx.com> | 2021-05-25 10:48:56 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-05-25 09:41:33 -0400 |
commit | ab80b4bfa717049da3d8fb21cd4560fced6f5baf (patch) | |
tree | b81559f5656155f5977939de1d9605b04f5a48d6 | |
parent | 84596ee94464bbd2fd8da2a288cf3b9337e0017c (diff) | |
download | pugl-ab80b4bfa717049da3d8fb21cd4560fced6f5baf.tar.gz pugl-ab80b4bfa717049da3d8fb21cd4560fced6f5baf.tar.bz2 pugl-ab80b4bfa717049da3d8fb21cd4560fced6f5baf.zip |
X11: Do not override _POSIX_C_SOURCE if already defined
-rw-r--r-- | src/x11.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -16,7 +16,9 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#define _POSIX_C_SOURCE 199309L +#ifndef _POSIX_C_SOURCE +# define _POSIX_C_SOURCE 199309L +#endif #include "x11.h" |