From 5f5783ceb27e497b3805c4d5742d03f66bfd87bd Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 15 Nov 1993 12:27:45 +0000 Subject: [PATCH] (HAVE_GETTIMEOFDAY): Don't define if already defined. --- src/s/sco4.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/s/sco4.h b/src/s/sco4.h index 40a191535ea..bbdf4bf951d 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 -- 2.39.5