From: Marc G. Fournier <scrappy@hub.org>
Date: Tue, 3 Feb 1998 00:57:42 +0000 (+0000)
Subject: From: teunis <teunis@mauve.computersupportcentre.com>
X-Git-Tag: REL6_3~241
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2bfc73f55e6ded7dc2933e4f1c46c7a5d809b494;p=postgresql

From: teunis <teunis@mauve.computersupportcentre.com>

Slight cleanups for glibc2.0
---

diff --git a/src/include/port/linux.h b/src/include/port/linux.h
index 20aa3071ae..727260a6d6 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