summaryrefslogtreecommitdiff
path: root/src/include/port/linux.h
diff options
context:
space:
mode:
authorPeter Eisentraut2000-10-29 13:17:34 +0000
committerPeter Eisentraut2000-10-29 13:17:34 +0000
commit525e1c4436651c39f713416348bd35e3176b7797 (patch)
tree6f1f991d40bc259990be5f581f791882c4aae6af /src/include/port/linux.h
parent8b0431129309e4a4ddbc91f5a3e58631a07ac13c (diff)
USE_POSIX_TIME replaced by HAVE_TM_ZONE || HAVE_INT_TIMEZONE, which are
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.
Diffstat (limited to 'src/include/port/linux.h')
-rw-r--r--src/include/port/linux.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/include/port/linux.h b/src/include/port/linux.h
index 366932122c5..b6eb10f3d64 100644
--- a/src/include/port/linux.h
+++ b/src/include/port/linux.h
@@ -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