changeset 1626:9bd597d29590

merge
author Matt Johnston <matt@ucc.asn.au>
date Wed, 14 Nov 2018 22:58:35 +0800
parents 79eef94ccea9 (current diff) c66c49ebf77d (diff)
children 9b02c49bd396
files
diffstat 2 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Wed Nov 14 22:57:56 2018 +0800
+++ b/configure.ac	Wed Nov 14 22:58:35 2018 +0800
@@ -498,10 +498,7 @@
 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])
--- a/includes.h	Wed Nov 14 22:57:56 2018 +0800
+++ b/includes.h	Wed Nov 14 22:58:35 2018 +0800
@@ -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 */