diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-02-08 10:42:37 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-02-08 10:43:12 +0100 |
commit | bdafbb24bc2d4beda71faa87036ace0dcab474fb (patch) | |
tree | 8d591fa1309a8537654262deebea781156fbbbb4 /gl/m4/gettimeofday.m4 | |
parent | 673a79027c04eaa8aa68353990753cf32dc7774a (diff) | |
download | gnutls-bdafbb24bc2d4beda71faa87036ace0dcab474fb.tar.gz |
added strndup and updated gnulib.
Diffstat (limited to 'gl/m4/gettimeofday.m4')
-rw-r--r-- | gl/m4/gettimeofday.m4 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gl/m4/gettimeofday.m4 b/gl/m4/gettimeofday.m4 index 2385e39579..dc68c43ae3 100644 --- a/gl/m4/gettimeofday.m4 +++ b/gl/m4/gettimeofday.m4 @@ -1,4 +1,4 @@ -# serial 17 +# serial 18 # Copyright (C) 2001-2003, 2005, 2007, 2009-2012 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation @@ -50,6 +50,10 @@ int gettimeofday (struct timeval *restrict, struct timezone *restrict); elif test $gl_cv_func_gettimeofday_posix_signature != yes; then REPLACE_GETTIMEOFDAY=1 fi + dnl If we override 'struct timeval', we also have to override gettimeofday. + if test $REPLACE_STRUCT_TIMEVAL = 1; then + REPLACE_GETTIMEOFDAY=1 + fi m4_ifdef([gl_FUNC_TZSET_CLOBBER], [ gl_FUNC_TZSET_CLOBBER if test $gl_cv_func_tzset_clobber = yes; then |