changeset 15842:e8d7059aadc3

(GETTIMEOFDAY_ONE_ARGUMENT): Conditionalize on HAVE_GETTIMEOFDAY.
author Richard M. Stallman <rms@gnu.org>
date Thu, 08 Aug 1996 20:05:31 +0000
parents 80a852988718
children b2baf393982f
files src/config.in
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/config.in	Thu Aug 08 20:04:18 1996 +0000
+++ b/src/config.in	Thu Aug 08 20:05:31 1996 +0000
@@ -135,7 +135,12 @@
 #undef HAVE_ALLOCA_H
 
 #undef HAVE_GETTIMEOFDAY
+/* If we don't have gettimeofday,
+   the test for GETTIMEOFDAY_ONE_ARGUMENT may succeed,
+   but we should ignore it.  */
+#ifdef HAVE_GETTIMEOFDAY
 #undef GETTIMEOFDAY_ONE_ARGUMENT
+#endif
 #undef HAVE_GETHOSTNAME
 #undef HAVE_DUP2
 #undef HAVE_RENAME