]> git.eshelyaron.com Git - emacs.git/commitdiff
(GETTIMEOFDAY_ONE_ARGUMENT): Conditionalize on HAVE_GETTIMEOFDAY.
authorRichard M. Stallman <rms@gnu.org>
Thu, 8 Aug 1996 20:05:31 +0000 (20:05 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 8 Aug 1996 20:05:31 +0000 (20:05 +0000)
src/config.in

index 898882a0f65790c16883354dedbd5a768812236b..5c84d99c70cce5638dfcb02536a9b41dc41368f0 100644 (file)
@@ -135,7 +135,12 @@ Boston, MA 02111-1307, USA.  */
 #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