diff options
author | Matt Johnston <matt@ucc.asn.au> | 2018-11-06 07:25:53 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2018-11-06 07:25:53 +0800 |
commit | 7e03e4d44304581749b43c5ea4511318dc29b8dd (patch) | |
tree | 26eba3f14750608809ce265f7e3627b7f7c5e3e3 | |
parent | 02ffdd09dc1941f7a924cde8db288fcd64987f59 (diff) |
Remove incorrect _POSIX_C_SOURCE
-rw-r--r-- | configure.ac | 3 | ||||
-rw-r--r-- | includes.h | 5 |
2 files changed, 0 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac index 7130152..7199d7c 100644 --- a/configure.ac +++ b/configure.ac @@ -498,10 +498,7 @@ AC_CHECK_FUNCS(setutxent utmpxname) AC_CHECK_FUNCS(logout updwtmp logwtmp) # POSIX monotonic time -OLDCFLAGS="$CFLAGS" -CFLAGS="$CFLAGS -D_POSIX_C_SOURCE=199309L" AC_CHECK_FUNCS(clock_gettime) -CFLAGS="$OLDCFLAGS" # OS X monotonic time AC_CHECK_HEADERS([mach/mach_time.h]) @@ -29,11 +29,6 @@ #include "options.h" #include "debug.h" -#if __linux__ -/* For clock_gettime */ -#define _POSIX_C_SOURCE 199309L -#endif - #include <sys/types.h> #include <sys/ioctl.h> #include <sys/param.h> /* required for BSD4_4 define */ |