Unverified Commit 4f0cdd21 by alanminko Committed by GitHub

Merge pull request #217 from hzeller/20230427-avoid-double-define

Don't #define _DEFAULT_SOURCE if already defined.
parents 80c1c016 dfd8fabd
......@@ -18,7 +18,9 @@
//#define _BSD_SOURCE
#ifndef WIN32
#ifndef _DEFAULT_SOURCE
#define _DEFAULT_SOURCE
#endif
#include <unistd.h>
#endif
......
......@@ -19,7 +19,9 @@
//#define _BSD_SOURCE
#ifndef WIN32
#ifndef _DEFAULT_SOURCE
#define _DEFAULT_SOURCE
#endif
#include <unistd.h>
#endif
......
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