summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kneschke <jan@kneschke.de>2006-02-14 16:10:14 +0000
committerJan Kneschke <jan@kneschke.de>2006-02-14 16:10:14 +0000
commit569923007e6c552ab9e9a07102f72c086e2bc9d8 (patch)
treed5a8bebbbe24eac2de805c09d761f1547d11f2bf
parent731c4946e494eb5f414e6496a94164ef22154e5e (diff)
downloadlighttpd-git-569923007e6c552ab9e9a07102f72c086e2bc9d8.tar.gz
removed defines for XOPEN_SOURCE and BSD_SOURCE again as it breaks all BSDs and MacOSX
git-svn-id: svn+ssh://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@994 152afb58-edef-0310-8abb-c4023f1b3aa9
-rw-r--r--SConstruct2
-rw-r--r--configure.in3
2 files changed, 1 insertions, 4 deletions
diff --git a/SConstruct b/SConstruct
index e603e357..042be4da 100644
--- a/SConstruct
+++ b/SConstruct
@@ -109,7 +109,7 @@ env['package'] = package
env['version'] = version
if env['CC'] == 'gcc':
## we need x-open 6 and bsd 4.3 features
- env.Append(CCFLAGS = Split('-Wall -O2 -g -W -pedantic -Wunused -Wshadow -std=gnu99 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE'))
+ env.Append(CCFLAGS = Split('-Wall -O2 -g -W -pedantic -Wunused -Wshadow -std=gnu99'))
# cache configure checks
if 1:
diff --git a/configure.in b/configure.in
index 128d84dd..9aef1d49 100644
--- a/configure.in
+++ b/configure.in
@@ -439,9 +439,6 @@ case $host_os in
* ) ;;
esac
-dnl posix_* needs _XOPEN_SOURCE=600
-CFLAGS="${CFLAGS} -D_XOPEN_SOURCE=600 -D_BSD_SOURCE"
-
AC_CHECK_FUNCS([dup2 getcwd inet_ntoa inet_ntop memset mmap munmap strchr \
strdup strerror strstr strtol sendfile getopt socket \
gethostbyname poll sigtimedwait epoll_ctl getrlimit chroot \