aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-03-22 08:02:25 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-03-22 08:02:25 +0100
commita1d3b100d2672e71aa064d5aa65279d7a50d4ad8 (patch)
treeeb4118694e0f58a66b25f2adfe3c0c25e53b2296 /configure
parent94fd93a0c45d6e991a9e6686b43b58272c17dcbf (diff)
downloadvis-a1d3b100d2672e71aa064d5aa65279d7a50d4ad8.tar.gz
vis-a1d3b100d2672e71aa064d5aa65279d7a50d4ad8.tar.xz
configure: exchange _{BSD,DARWIN_C}_SOURCE defines
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 91b5f7c..1726088 100755
--- a/configure
+++ b/configure
@@ -204,8 +204,8 @@ LDFLAGS_STD="-lc"
OS=$(uname)
case "$OS" in
-*BSD) CFLAGS_STD="$CFLAGS_STD -D_DARWIN_C_SOURCE" ;;
-Darwin) CFLAGS_STD="$CFLAGS_STD -D_BSD_SOURCE" ;;
+*BSD) CFLAGS_STD="$CFLAGS_STD -D_BSD_SOURCE" ;;
+Darwin) CFLAGS_STD="$CFLAGS_STD -D_DARWIN_C_SOURCE" ;;
AIX) CFLAGS_STD="$CFLAGS_STD -D_ALL_SOURCE" ;;
esac