Commit 667d75d0 authored by Ross Lagerwall's avatar Ross Lagerwall

Don't redefine _GNU_SOURCE if it's already defined.

parent 031bf95d
/* Authors: Gregory P. Smith & Jeffrey Yasskin */ /* Authors: Gregory P. Smith & Jeffrey Yasskin */
#include "Python.h" #include "Python.h"
#ifdef HAVE_PIPE2 #if defined(HAVE_PIPE2) && !defined(_GNU_SOURCE)
#define _GNU_SOURCE # define _GNU_SOURCE
#endif #endif
#include <unistd.h> #include <unistd.h>
#include <fcntl.h> #include <fcntl.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment