aboutsummaryrefslogtreecommitdiff
path: root/src/include/port/linux.h
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1998-02-03 00:57:42 +0000
committerMarc G. Fournier <scrappy@hub.org>1998-02-03 00:57:42 +0000
commit2bfc73f55e6ded7dc2933e4f1c46c7a5d809b494 (patch)
tree5346af2a2ec8499b3fe84a7dd00d96fef23b3346 /src/include/port/linux.h
parent0079de40b9fefc71bad543bc314120f6b0a61979 (diff)
downloadpostgresql-2bfc73f55e6ded7dc2933e4f1c46c7a5d809b494.tar.gz
postgresql-2bfc73f55e6ded7dc2933e4f1c46c7a5d809b494.zip
From: teunis <teunis@mauve.computersupportcentre.com>
Slight cleanups for glibc2.0
Diffstat (limited to 'src/include/port/linux.h')
-rw-r--r--src/include/port/linux.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/port/linux.h b/src/include/port/linux.h
index 20aa3071ae6..727260a6d6e 100644
--- a/src/include/port/linux.h
+++ b/src/include/port/linux.h
@@ -18,6 +18,15 @@ typedef long int slock_t;
typedef unsigned char slock_t;
#endif
+#if (__GLIBC__ >= 2)
+# ifdef HAVE_INT_TIMEZONE
+# undef HAVE_INT_TIMEZONE
+# endif
+ /* currently undefined as I (teunis@computersupportcentre.com) have not
+ checked this yet */
+/* #define HAVE_SIGSETJMP 1 */
+#endif
+
#if defined(PPC)
#undef NEED_I386_TAS_ASM
#undef HAVE_INT_TIMEZONE