Mercurial > dropbear
changeset 1623:c66c49ebf77d
Remove incorrect _POSIX_C_SOURCE
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 06 Nov 2018 07:25:53 +0800 |
parents | e11ed628708b |
children | 9bd597d29590 |
files | configure.ac includes.h |
diffstat | 2 files changed, 0 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.ac Mon Nov 05 23:36:34 2018 +0800 +++ b/configure.ac Tue Nov 06 07:25:53 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 Mon Nov 05 23:36:34 2018 +0800 +++ b/includes.h Tue Nov 06 07:25:53 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 */