mirror of https://github.com/YosysHQ/abc.git
Don't #define _DEFAULT_SOURCE if already defined.
This commit is contained in:
parent
cc6834d4cc
commit
dfd8fabdd7
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue