fix linux bullshit
This commit is contained in:
parent
9c0ed68fbb
commit
3c1f1a204e
|
@ -12,7 +12,7 @@ OPSYS=$(uname -s)
|
||||||
|
|
||||||
echo "Configuring for ${OPSYS}..."
|
echo "Configuring for ${OPSYS}..."
|
||||||
if [ "x${OPSYS}" = "xLinux" ]; then
|
if [ "x${OPSYS}" = "xLinux" ]; then
|
||||||
OS_CFLAGS="-D_BSD_SOURCE -D_POSIX_SOURCE -D_XOPEN_SOURCE"
|
OS_CFLAGS="-D_DEFAULT_SOURCE -D_POSIX_SOURCE -D_XOPEN_SOURCE"
|
||||||
elif [ "x${OPSYS}" = "xDarwin" ]; then
|
elif [ "x${OPSYS}" = "xDarwin" ]; then
|
||||||
OS_CFLAGS="-D_DARWIN_C_SOURCE"
|
OS_CFLAGS="-D_DARWIN_C_SOURCE"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue