summaryrefslogtreecommitdiff
path: root/src/include/port/linux.h
diff options
context:
space:
mode:
authorPeter Eisentraut2000-01-15 02:59:43 +0000
committerPeter Eisentraut2000-01-15 02:59:43 +0000
commit1cd4c141167131f0739a654c6f703fc1a5154f0f (patch)
tree2459cd9f0bc38d80b6038a877603af9ae3fdb988 /src/include/port/linux.h
parent7c9390caa14ea2d5d99d69d2a34eee4d45d43b9c (diff)
Fixed all elog related warnings, as well as a few others.
Diffstat (limited to 'src/include/port/linux.h')
-rw-r--r--src/include/port/linux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/port/linux.h b/src/include/port/linux.h
index 345aac71b1d..b2b4545a2ab 100644
--- a/src/include/port/linux.h
+++ b/src/include/port/linux.h
@@ -29,7 +29,7 @@ typedef unsigned int slock_t;
#endif
-#if (__GLIBC__ >= 2)
+#if defined(__GLIBC__) && (__GLIBC__ >= 2)
#ifdef HAVE_INT_TIMEZONE
#undef HAVE_INT_TIMEZONE
#endif