aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1993-11-15 12:27:45 +0000
committerRichard M. Stallman <[email protected]>1993-11-15 12:27:45 +0000
commit5f5783ceb27e497b3805c4d5742d03f66bfd87bd (patch)
tree470721aa94d9e039112214a7cb3971e7b58e44e5 /src
parent644ab5899f52d094117e7f0dd6f8f56f95c8241a (diff)
(HAVE_GETTIMEOFDAY): Don't define if already defined.
Diffstat (limited to 'src')
-rw-r--r--src/s/sco4.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/s/sco4.h b/src/s/sco4.h
index 40a191535e..bbdf4bf951 100644
--- a/src/s/sco4.h
+++ b/src/s/sco4.h
@@ -77,8 +77,13 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#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