From: Richard M. Stallman Date: Mon, 15 Nov 1993 12:27:45 +0000 (+0000) Subject: (HAVE_GETTIMEOFDAY): Don't define if already defined. X-Git-Tag: emacs-19.34~10820 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5f5783ceb27e497b3805c4d5742d03f66bfd87bd;p=emacs.git (HAVE_GETTIMEOFDAY): Don't define if already defined. --- 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