Add _DARWIN_C_SOURCE to allow compiling on OSX
This allows OSX to get declarations for readlink(), setegid(), seteuid() etc when compiling Allows successful compile on OSX 10.9.4 Didn't break the build on Linux (tested on Ubuntu Server 12.04 LTS & Centos 6.5
This commit is contained in:
parent
c502754f9b
commit
bcc69a9e3b
@ -50,6 +50,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define _XOPEN_SOURCE 500
|
#define _XOPEN_SOURCE 500
|
||||||
|
#define _DARWIN_C_SOURCE 1
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user