USE_POSIX_TIME replaced by HAVE_TM_ZONE || HAVE_INT_TIMEZONE, which are
authorPeter Eisentraut
Sun, 29 Oct 2000 13:17:34 +0000 (13:17 +0000)
committerPeter Eisentraut
Sun, 29 Oct 2000 13:17:34 +0000 (13:17 +0000)
equivalent.

In linux.h there were some #undef HAVE_INT_TIMEZONE, which are useless
because HAVE_TM_ZONE overrides it anyway, and messing with configure
results isn't cool.

25 files changed:
src/backend/utils/adt/date.c
src/backend/utils/adt/datetime.c
src/backend/utils/adt/formatting.c
src/backend/utils/adt/nabstime.c
src/backend/utils/adt/timestamp.c
src/include/port/aix.h
src/include/port/beos.h
src/include/port/bsdi.h
src/include/port/dgux.h
src/include/port/freebsd.h
src/include/port/hpux.h
src/include/port/irix5.h
src/include/port/linux.h
src/include/port/netbsd.h
src/include/port/openbsd.h
src/include/port/osf.h
src/include/port/qnx4.h
src/include/port/sco.h
src/include/port/solaris.h
src/include/port/sunos4.h
src/include/port/svr4.h
src/include/port/ultrix4.h
src/include/port/univel.h
src/include/port/unixware.h
src/include/port/win.h

index ba1b7f6a4d25562d062183c78719018fb2eee015..a19ae9e48af176e8c7507dffedd92555b645bdb1 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/adt/date.c,v 1.50 2000/09/12 05:41:37 thomas Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/adt/date.c,v 1.51 2000/10/29 13:17:33 petere Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -232,7 +232,7 @@ date_timestamp(PG_FUNCTION_ARGS)
 
    if (IS_VALID_UTIME(tm->tm_year, tm->tm_mon, tm->tm_mday))
    {
-#ifdef USE_POSIX_TIME
+#if defined(HAVE_TM_ZONE) || defined(HAVE_INT_TIMEZONE)
        tm->tm_hour = 0;
        tm->tm_min = 0;
        tm->tm_sec = 0;
@@ -245,7 +245,7 @@ date_timestamp(PG_FUNCTION_ARGS)
            elog(ERROR, "Unable to convert date to tm");
 
        result = utime + ((date2j(1970,1,1)-date2j(2000,1,1))*86400.0);
-#else                          /* !USE_POSIX_TIME */
+#else
        result = dateVal*86400.0+CTimeZone;
 #endif
    }
index 39a39c479d7c30f1c4095f0f6aa12fc96373ce48..a4c1abb9ee32be01ca1af321f32086c92191f26e 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/adt/datetime.c,v 1.53 2000/09/12 05:41:37 thomas Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/adt/datetime.c,v 1.54 2000/10/29 13:17:33 petere Exp $
  *
  *-------------------------------------------------------------------------
  */
 #include 
 #include 
 #include 
-
 #include 
 
-#ifndef USE_POSIX_TIME
-#include 
-#endif
-
 #include "miscadmin.h"
 #include "utils/datetime.h"
 
@@ -885,7 +880,7 @@ DecodeDateTime(char **field, int *ftype, int nf,
 
            if (IS_VALID_UTIME(tm->tm_year, tm->tm_mon, tm->tm_mday))
            {
-#ifdef USE_POSIX_TIME
+#if defined(HAVE_TM_ZONE) || defined(HAVE_INT_TIMEZONE)
                tm->tm_year -= 1900;
                tm->tm_mon -= 1;
                tm->tm_isdst = -1;
@@ -893,20 +888,18 @@ DecodeDateTime(char **field, int *ftype, int nf,
                tm->tm_year += 1900;
                tm->tm_mon += 1;
 
-#if defined(HAVE_TM_ZONE)
+# if defined(HAVE_TM_ZONE)
                *tzp = -(tm->tm_gmtoff);        /* tm_gmtoff is
                                                 * Sun/DEC-ism */
-#elif defined(HAVE_INT_TIMEZONE)
-#ifdef __CYGWIN__
+# elif defined(HAVE_INT_TIMEZONE)
+#  ifdef __CYGWIN__
                *tzp = ((tm->tm_isdst > 0) ? (_timezone - 3600) : _timezone);
-#else
+#  else
                *tzp = ((tm->tm_isdst > 0) ? (timezone - 3600) : timezone);
-#endif
-#else
-#error USE_POSIX_TIME is defined but neither HAVE_TM_ZONE or HAVE_INT_TIMEZONE are defined
-#endif
+#  endif /* __CYGWIN__ */
+# endif /* HAVE_INT_TIMEZONE */
 
-#else                          /* !USE_POSIX_TIME */
+#else /* not (HAVE_TM_ZONE || HAVE_INT_TIMEZONE) */
                *tzp = CTimeZone;
 #endif
            }
@@ -1139,24 +1132,22 @@ DecodeTimeOnly(char **field, int *ftype, int nf,
        tmp->tm_min = tm->tm_min;
        tmp->tm_sec = tm->tm_sec;
 
-#ifdef USE_POSIX_TIME
+#if defined(HAVE_TM_ZONE) || defined(HAVE_INT_TIMEZONE)
        tmp->tm_isdst = -1;
        mktime(tmp);
        tm->tm_isdst = tmp->tm_isdst;
 
-#if defined(HAVE_TM_ZONE)
+# if defined(HAVE_TM_ZONE)
        *tzp = -(tmp->tm_gmtoff);       /* tm_gmtoff is Sun/DEC-ism */
-#elif defined(HAVE_INT_TIMEZONE)
-#ifdef __CYGWIN__
+# elif defined(HAVE_INT_TIMEZONE)
+#  ifdef __CYGWIN__
        *tzp = ((tmp->tm_isdst > 0) ? (_timezone - 3600) : _timezone);
-#else
+#  else
        *tzp = ((tmp->tm_isdst > 0) ? (timezone - 3600) : timezone);
-#endif
-#else
-#error USE_POSIX_TIME is defined but neither HAVE_TM_ZONE or HAVE_INT_TIMEZONE are defined
-#endif
+#  endif
+# endif
 
-#else                          /* !USE_POSIX_TIME */
+#else /* not (HAVE_TM_ZONE || HAVE_INT_TIMEZONE) */
        *tzp = CTimeZone;
 #endif
    }
index 748bb694d7987ef9d5624e18eea1565669a56db1..b1e412907d1d0cbf1b7a7dddcab3e2b05ed29996 100644 (file)
@@ -1,7 +1,7 @@
 /* -----------------------------------------------------------------------
  * formatting.c
  *
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/formatting.c,v 1.22 2000/09/25 12:58:47 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/formatting.c,v 1.23 2000/10/29 13:17:34 petere Exp $
  *
  *
  *  Portions Copyright (c) 1999-2000, PostgreSQL, Inc
@@ -2781,34 +2781,32 @@ to_timestamp(PG_FUNCTION_ARGS)
    if (IS_VALID_UTIME(tm->tm_year, tm->tm_mon, tm->tm_mday))
    {
 
-#ifdef USE_POSIX_TIME
+#if defined(HAVE_TM_ZONE) || defined(HAVE_INT_TIMEZONE)
        tm->tm_isdst = -1;
        tm->tm_year -= 1900;
        tm->tm_mon -= 1;
 
-#ifdef DEBUG_TO_FROM_CHAR
+# ifdef DEBUG_TO_FROM_CHAR
        elog(DEBUG_elog_output, "TO-FROM_CHAR: Call mktime()");
        NOTICE_TM;
-#endif
+# endif
        mktime(tm);
        tm->tm_year += 1900;
        tm->tm_mon += 1;
 
-#if defined(HAVE_TM_ZONE)
+# if defined(HAVE_TM_ZONE)
        tz = -(tm->tm_gmtoff);  /* tm_gmtoff is Sun/DEC-ism */
-#elif defined(HAVE_INT_TIMEZONE)
+# elif defined(HAVE_INT_TIMEZONE)
 
-#ifdef __CYGWIN__
+#  ifdef __CYGWIN__
        tz = (tm->tm_isdst ? (_timezone - 3600) : _timezone);
-#else
+#  else
        tz = (tm->tm_isdst ? (timezone - 3600) : timezone);
-#endif
+#  endif
 
-#else
-#error USE_POSIX_TIME is defined but neither HAVE_TM_ZONE or HAVE_INT_TIMEZONE are defined
-#endif
+# endif
 
-#else                          /* !USE_POSIX_TIME */
+#else /* not (HAVE_TM_ZONE || HAVE_INT_TIMEZONE) */
        tz = CTimeZone;
 #endif
    }
index 61973c46cf2bfd01f2cc56565438782c330e6afb..a7ee883f7b0a32532721eced0ffb81317605a0cc 100644 (file)
@@ -9,7 +9,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/adt/nabstime.c,v 1.74 2000/09/29 13:53:31 petere Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/adt/nabstime.c,v 1.75 2000/10/29 13:17:34 petere Exp $
  *
  * NOTES
  *
@@ -24,7 +24,7 @@
 #include 
 #include 
 
-#ifndef USE_POSIX_TIME
+#if !(defined(HAVE_TM_ZONE) || defined(HAVE_INT_TIMEZONE))
 #include 
 #endif
 
@@ -126,11 +126,11 @@ GetCurrentAbsoluteTime(void)
 {
    time_t      now;
 
-#ifdef USE_POSIX_TIME
+#if defined(HAVE_TM_ZONE) || defined(HAVE_INT_TIMEZONE)
    struct tm  *tm;
 
    now = time(NULL);
-#else                          /* ! USE_POSIX_TIME */
+#else
    struct timeb tb;            /* the old V7-ism */
 
    ftime(&tb);
@@ -139,7 +139,6 @@ GetCurrentAbsoluteTime(void)
 
    if (!HasCTZSet)
    {
-#ifdef USE_POSIX_TIME
 #if defined(HAVE_TM_ZONE)
        tm = localtime(&now);
 
@@ -166,16 +165,13 @@ GetCurrentAbsoluteTime(void)
 
        CDayLight = tm->tm_isdst;
        CTimeZone =
-#ifdef __CYGWIN__
+# ifdef __CYGWIN__
            (tm->tm_isdst ? (_timezone - 3600) : _timezone);
-#else
+# else
            (tm->tm_isdst ? (timezone - 3600) : timezone);
-#endif
+# endif
        strcpy(CTZName, tzname[tm->tm_isdst]);
-#else
-#error USE_POSIX_TIME defined but no time zone available
-#endif
-#else                          /* ! USE_POSIX_TIME */
+#else /* neither HAVE_TM_ZONE nor HAVE_INT_TIMEZONE */
        CTimeZone = tb.timezone * 60;
        CDayLight = (tb.dstflag != 0);
 
@@ -206,25 +202,23 @@ void
 abstime2tm(AbsoluteTime _time, int *tzp, struct tm * tm, char *tzn)
 {
    time_t time = (time_t) _time;
-#ifdef USE_POSIX_TIME
+#if defined(HAVE_TM_ZONE) || defined(HAVE_INT_TIMEZONE)
    struct tm  *tx;
 
-#else                          /* ! USE_POSIX_TIME */
+#else
    struct timeb tb;            /* the old V7-ism */
 
    ftime(&tb);
 #endif
 
-#ifdef USE_POSIX_TIME
+
+#if defined(HAVE_TM_ZONE) || defined(HAVE_INT_TIMEZONE)
    if (tzp != NULL)
        tx = localtime((time_t *) &time);
    else
    {
        tx = gmtime((time_t *) &time);
    };
-#endif
-
-#ifdef USE_POSIX_TIME
 
    tm->tm_year = tx->tm_year + 1900;
    tm->tm_mon = tx->tm_mon + 1;
@@ -234,7 +228,7 @@ abstime2tm(AbsoluteTime _time, int *tzp, struct tm * tm, char *tzn)
    tm->tm_sec = tx->tm_sec;
    tm->tm_isdst = tx->tm_isdst;
 
-#if defined(HAVE_TM_ZONE)
+# if defined(HAVE_TM_ZONE)
    tm->tm_gmtoff = tx->tm_gmtoff;
    tm->tm_zone = tx->tm_zone;
 
@@ -252,13 +246,13 @@ abstime2tm(AbsoluteTime _time, int *tzp, struct tm * tm, char *tzn)
        if (strlen(tm->tm_zone) > MAXTZLEN)
            elog(NOTICE, "Invalid timezone \'%s\'", tm->tm_zone);
    }
-#elif defined(HAVE_INT_TIMEZONE)
+# elif defined(HAVE_INT_TIMEZONE)
    if (tzp != NULL)
-#ifdef __CYGWIN__
+#  ifdef __CYGWIN__
        *tzp = (tm->tm_isdst ? (_timezone - 3600) : _timezone);
-#else
+#  else
        *tzp = (tm->tm_isdst ? (timezone - 3600) : timezone);
-#endif
+#  endif
    if (tzn != NULL)
    {
 
@@ -270,10 +264,8 @@ abstime2tm(AbsoluteTime _time, int *tzp, struct tm * tm, char *tzn)
        if (strlen(tzname[tm->tm_isdst]) > MAXTZLEN)
            elog(NOTICE, "Invalid timezone \'%s\'", tzname[tm->tm_isdst]);
    }
-#else
-#error POSIX time support is broken
-#endif
-#else                          /* ! USE_POSIX_TIME */
+# endif
+#else /* not (HAVE_TM_ZONE || HAVE_INT_TIMEZONE) */
    if (tzp != NULL)
        *tzp = tb.timezone * 60;
 
index 8894f60d54a5c7467ac22ab6df24bc89d4ced156..21fd9d76188e6689f5507f17e52c340f07cb1d01 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/backend/utils/adt/timestamp.c,v 1.35 2000/08/29 04:41:47 momjian Exp $
+ *   $Header: /cvsroot/pgsql/src/backend/utils/adt/timestamp.c,v 1.36 2000/10/29 13:17:34 petere Exp $
  *
  *-------------------------------------------------------------------------
  */
 #include 
 #include 
 
-#ifndef USE_POSIX_TIME
-#include 
-#endif
-
 #include "access/hash.h"
 #include "access/xact.h"
 #include "miscadmin.h"
@@ -282,7 +278,7 @@ timestamp2tm(Timestamp dt, int *tzp, struct tm * tm, double *fsec, char **tzn)
                sec;
    time_t      utime;
 
-#ifdef USE_POSIX_TIME
+#if defined(HAVE_TM_ZONE) || defined(HAVE_INT_TIMEZONE)
    struct tm  *tx;
 
 #endif
@@ -317,7 +313,7 @@ timestamp2tm(Timestamp dt, int *tzp, struct tm * tm, double *fsec, char **tzn)
        {
            utime = (dt + (date0 - date2j(1970, 1, 1)) * 86400);
 
-#ifdef USE_POSIX_TIME
+#if defined(HAVE_TM_ZONE) || defined(HAVE_INT_TIMEZONE)
            tx = localtime(&utime);
            tm->tm_year = tx->tm_year + 1900;
            tm->tm_mon = tx->tm_mon + 1;
@@ -336,26 +332,24 @@ timestamp2tm(Timestamp dt, int *tzp, struct tm * tm, double *fsec, char **tzn)
 #endif
            tm->tm_isdst = tx->tm_isdst;
 
-#if defined(HAVE_TM_ZONE)
+# if defined(HAVE_TM_ZONE)
            tm->tm_gmtoff = tx->tm_gmtoff;
            tm->tm_zone = tx->tm_zone;
 
            *tzp = -(tm->tm_gmtoff);    /* tm_gmtoff is Sun/DEC-ism */
            if (tzn != NULL)
                *tzn = (char *) tm->tm_zone;
-#elif defined(HAVE_INT_TIMEZONE)
-#ifdef __CYGWIN__
+# elif defined(HAVE_INT_TIMEZONE)
+#  ifdef __CYGWIN__
            *tzp = (tm->tm_isdst ? (_timezone - 3600) : _timezone);
-#else
+#  else
            *tzp = (tm->tm_isdst ? (timezone - 3600) : timezone);
-#endif
+#  endif
            if (tzn != NULL)
                *tzn = tzname[(tm->tm_isdst > 0)];
-#else
-#error USE_POSIX_TIME is defined but neither HAVE_TM_ZONE or HAVE_INT_TIMEZONE are defined
-#endif
+# endif
 
-#else                          /* !USE_POSIX_TIME */
+#else /* not (HAVE_TM_ZONE || HAVE_INT_TIMEZONE) */
            *tzp = CTimeZone;   /* V7 conventions; don't know timezone? */
            if (tzn != NULL)
                *tzn = CTZName;
@@ -1629,7 +1623,7 @@ timestamp_trunc(PG_FUNCTION_ARGS)
 
            if (IS_VALID_UTIME(tm->tm_year, tm->tm_mon, tm->tm_mday))
            {
-#ifdef USE_POSIX_TIME
+#if defined(HAVE_TM_ZONE) || defined(HAVE_INT_TIMEZONE)
                tm->tm_isdst = -1;
                tm->tm_year -= 1900;
                tm->tm_mon -= 1;
@@ -1638,21 +1632,19 @@ timestamp_trunc(PG_FUNCTION_ARGS)
                tm->tm_year += 1900;
                tm->tm_mon += 1;
 
-#if defined(HAVE_TM_ZONE)
+# if defined(HAVE_TM_ZONE)
                tz = -(tm->tm_gmtoff);  /* tm_gmtoff is Sun/DEC-ism */
-#elif defined(HAVE_INT_TIMEZONE)
+# elif defined(HAVE_INT_TIMEZONE)
 
-#ifdef __CYGWIN__
+#  ifdef __CYGWIN__
                tz = (tm->tm_isdst ? (_timezone - 3600) : _timezone);
-#else
+#  else
                tz = (tm->tm_isdst ? (timezone - 3600) : timezone);
-#endif
+#  endif
 
-#else
-#error USE_POSIX_TIME is defined but neither HAVE_TM_ZONE or HAVE_INT_TIMEZONE are defined
-#endif
+# endif
 
-#else                          /* !USE_POSIX_TIME */
+#else /* not (HAVE_TM_ZONE || HAVE_INT_TIMEZONE) */
                tz = CTimeZone;
 #endif
            }
index 39c9a79a9c79230b9245a37ca6ee6fa29c8db828..782d84bb9134be6a7ac9d87799eca3b8111b54bb 100644 (file)
@@ -1,4 +1,3 @@
-#define USE_POSIX_TIME
 #define CLASS_CONFLICT
 #define DISABLE_XOPEN_NLS
 #define HAS_TEST_AND_SET
index b27015d46e6d11d07419e275709844bc45b09667..0618dc3ffdf89e314b04d0f32245a3d055ca0165 100644 (file)
@@ -1,7 +1,6 @@
 #include 
 #include "kernel/image.h"
 
-#define USE_POSIX_TIME
 #define HAS_TEST_AND_SET
 
 typedef unsigned char slock_t;
index bb6cbb801efbf668d41127c8182e78e21db9d6d7..f4865361132a605720c77c20a443b6f22da98403 100644 (file)
@@ -5,7 +5,6 @@
 #define NEED_SPARC_TAS_ASM
 #endif
 
-#define USE_POSIX_TIME
 #define HAS_TEST_AND_SET
 
 typedef unsigned char slock_t;
index f08580cfafc2201a5927ca00bf69a037e8a511fb..d8fd311e69c3f092553fa604ddca7d59d63c0726 100644 (file)
@@ -1,5 +1,3 @@
-#define USE_POSIX_TIME
-
 #ifndef            BIG_ENDIAN
 #define            BIG_ENDIAN      4321
 #endif
index 162ff5acfd9efea38a73b8b465f1f91a8865cb23..ec92644a15ee478d0076cb8f6cb1e77b6d432a61 100644 (file)
@@ -1,5 +1,3 @@
-#define USE_POSIX_TIME
-
 #if defined(__i386__)
 #define NEED_I386_TAS_ASM
 #define HAS_TEST_AND_SET
index b265d4173f46c9cedec8503ba022ce6a86ad5026..870b12f263adab97ce967f7789668a733bf6c79c 100644 (file)
@@ -1,4 +1,3 @@
-#define USE_POSIX_TIME
 #define HAS_TEST_AND_SET
 typedef struct
 {
index 8451ee95d8a28dd6e96fb1936375daec60e3b004..668796004966f1b0294c3cb3633ac1f6b87db9f7 100644 (file)
@@ -1,3 +1,2 @@
-#define USE_POSIX_TIME
 #define HAS_TEST_AND_SET
 typedef unsigned long slock_t;
index 366932122c5001f80c6a5255f17ae5d1e7facddd..b6eb10f3d64ba99505ba3f1518d0b34b7e3d4728 100644 (file)
@@ -1,11 +1,3 @@
-/* __USE_POSIX, __USE_BSD, and __USE_BSD_SIGNAL used to be defined either
-   here or with -D compile options, but __ macros should be set and used by C
-   library macros, not Postgres code.  __USE_POSIX is set by features.h,
-   __USE_BSD is set by bsd/signal.h, and __USE_BSD_SIGNAL appears not to
-   be used.
-*/
-#define USE_POSIX_TIME
-
 #if defined(__i386__)
 typedef unsigned char slock_t;
 
@@ -42,13 +34,3 @@ typedef unsigned int slock_t;
 #define HAS_TEST_AND_SET
 
 #endif
-
-#if defined(__GLIBC__) && (__GLIBC__ >= 2)
-#ifdef HAVE_INT_TIMEZONE
-#undef HAVE_INT_TIMEZONE
-#endif
-#endif
-
-#if defined(__powerpc__)
-#undef HAVE_INT_TIMEZONE
-#endif
index dc019303250f30140fb3b05cdba689299c8b0fdf..63e4236248033a782d84dd0af5e55c81f2e37977 100644 (file)
@@ -1,5 +1,3 @@
-#define USE_POSIX_TIME
-
 #if defined(__i386__)
 #define NEED_I386_TAS_ASM
 #define HAS_TEST_AND_SET
index dc019303250f30140fb3b05cdba689299c8b0fdf..63e4236248033a782d84dd0af5e55c81f2e37977 100644 (file)
@@ -1,5 +1,3 @@
-#define USE_POSIX_TIME
-
 #if defined(__i386__)
 #define NEED_I386_TAS_ASM
 #define HAS_TEST_AND_SET
index 6c0d7b2afdb15e7dcf8e9af229deedbf750c5f1b..c43671811d940b3ec9fd4e566daef0c1a2bd7300 100644 (file)
@@ -1,5 +1,4 @@
 #define NOFIXADE
-#define USE_POSIX_TIME
 #define DISABLE_XOPEN_NLS
 #define HAS_TEST_AND_SET
 /*#include */          /* for msemaphore */
index d60555f10471c767361dab38f5cb5253b36d05e1..54cbbb6fb36c4e6a0515e11fe09c7a4af1433911 100644 (file)
@@ -9,7 +9,6 @@
 #include          /* for sem_t */
 #endif
 
-#define USE_POSIX_TIME
 #define HAS_TEST_AND_SET
 #define HAVE_STRING_H
 
index 2b1187e7ea19148b3c6d46aa2112fc34df5dc77a..04d3a506d67ee05f24a8c280ecaad606b4f5ff22 100644 (file)
@@ -4,8 +4,6 @@
 
 #define DISABLE_COMPLEX_MACRO
 
-#define USE_POSIX_TIME
-
 #define HAS_TEST_AND_SET
 #define NEED_I386_TAS_ASM
 
index 388e9f8b412ffd9174ff62701fce2a04c1fe1ce8..6851b6ce04082634802421138766eec4ca7ff5e1 100644 (file)
@@ -1,6 +1,5 @@
-/* $Header: /cvsroot/pgsql/src/include/port/solaris.h,v 1.2 2000/10/28 22:53:17 petere Exp $ */
+/* $Header: /cvsroot/pgsql/src/include/port/solaris.h,v 1.3 2000/10/29 13:17:34 petere Exp $ */
 
-#define USE_POSIX_TIME
 #define HAS_TEST_AND_SET
 typedef unsigned char slock_t;
 
index e9c0ec29d44f30cfa44f29ab99916377df7c6d6d..06c5ba99e30950f229950e6f7f79080f62cf53ac 100644 (file)
@@ -1,4 +1,3 @@
-#define USE_POSIX_TIME
 #define HAS_TEST_AND_SET
 typedef unsigned char slock_t;
 
index b6ca301e99676f5241b5ee429df2493f378ff64f..2c6e2b4e71365aad4cc0b37807911f40563c6288 100644 (file)
@@ -1,5 +1,3 @@
-#define USE_POSIX_TIME
-
 #ifndef            BYTE_ORDER
 #ifdef         MIPSEB
 #define            BYTE_ORDER      BIG_ENDIAN
index b88b70150306b89bf5c12d603d2c278695110abd..2dbbe6ceecdde819a9204dc90a052732adc12a31 100644 (file)
@@ -1,5 +1,4 @@
 #define NOFIXADE
-#define USE_POSIX_TIME
 #define NEED_STRDUP
 
 #ifndef            BIG_ENDIAN
index 4f9853d52b6fe0d7183a867d9f505a18822f8089..f51729448d18874a6e45fe3609db372b9634ef45 100644 (file)
@@ -1,5 +1,3 @@
-#define USE_POSIX_TIME
-
 #define HAS_TEST_AND_SET
 #define NEED_I386_TAS_ASM
 
index 00fe4501c22427d1620ec1ed100c57659237d092..380a19078f9f012c69a52789a3b78eee6b6aaa53 100644 (file)
@@ -1,5 +1,3 @@
-#define USE_POSIX_TIME
-
 #define HAS_TEST_AND_SET
 #define NEED_I386_TAS_ASM
 
index f30979fd2213ea1cc9bc0e5aa0aab41b59cf3ff3..bae6de53f6492104c2b56021b6efc1517ad2e250 100644 (file)
@@ -6,7 +6,6 @@ typedef unsigned char slock_t;
 #endif
 
 #define tzname _tzname         /* should be in time.h? */
-#define USE_POSIX_TIME
 #define HAVE_INT_TIMEZONE      /* has int _timezone */
 
 #include