changeset 5031:cad49955c59e

(HAVE_GETTIMEOFDAY): Don't define if already defined.
author Richard M. Stallman <rms@gnu.org>
date Mon, 15 Nov 1993 12:27:45 +0000
parents 1c9c9a87f8b6
children 2802aff49c77
files src/s/sco4.h
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/s/sco4.h	Mon Nov 15 11:25:17 1993 +0000
+++ b/src/s/sco4.h	Mon Nov 15 12:27:45 1993 +0000
@@ -77,8 +77,13 @@
 #define LIBS_SYSTEM -lsocket
 
 /* SCO has gettimeofday in socket library */
+/* Autoconf should determine this, but for now, 
+   play safe to avoid error rather than deleting this
+   and risking the wrong result.  */
+#ifndef HAVE_GETTIMEOFDAY
 #define HAVE_GETTIMEOFDAY
 #endif
+#endif
 
 /* We don't have -loldX, and we don't need it.  */
 #define LIB_XMENU_LIB