# HG changeset patch # User Richard M. Stallman # Date 753366465 0 # Node ID cad49955c59eee51a164722d6a998a22e48a30d2 # Parent 1c9c9a87f8b6dd0af206214e306df9ba2d3f5bb9 (HAVE_GETTIMEOFDAY): Don't define if already defined. diff -r 1c9c9a87f8b6 -r cad49955c59e src/s/sco4.h --- 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