summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-09-08 19:43:12 +0000
committerBruce Momjian <bruce@momjian.us>2004-09-08 19:43:12 +0000
commite97c817092fa49165b57021e4b6c0a5ad852e589 (patch)
tree1e9eb8f3559a31496d0efa33d6e907f5dc2bb2d8 /configure
parentcef30c650beec45c022338f816d9c3ee2ce496e3 (diff)
downloadpostgresql-e97c817092fa49165b57021e4b6c0a5ad852e589.tar.gz
Use _timezone global on Cygwin instead of timezone.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 9b0dc31343..073e3c467f 100755
--- a/configure
+++ b/configure
@@ -10725,7 +10725,11 @@ int res;
int
main ()
{
+#ifndef __CYGWIN__
res = timezone / 60;
+#else
+res = _timezone / 60;
+#endif
;
return 0;
}