aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2003-06-26 01:45:04 +0000
committerBruce Momjian <bruce@momjian.us>2003-06-26 01:45:04 +0000
commitb143210639c13a538f5aa0aab6843b05d58ef90c (patch)
treed1a6710afe5eba8d8934f8c156f5c77b7022d02d
parent095a0c83d5034b7a3c6332a685c2254c57b384cb (diff)
downloadpostgresql-b143210639c13a538f5aa0aab6843b05d58ef90c.tar.gz
postgresql-b143210639c13a538f5aa0aab6843b05d58ef90c.zip
Wrap LONG_LONG_MIN redfinition around HAVE_LONG_LONG_INT_64.
-rw-r--r--src/interfaces/ecpg/ecpglib/misc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/ecpglib/misc.c b/src/interfaces/ecpg/ecpglib/misc.c
index a9ac84b149d..33091e7d8c0 100644
--- a/src/interfaces/ecpg/ecpglib/misc.c
+++ b/src/interfaces/ecpg/ecpglib/misc.c
@@ -1,4 +1,4 @@
-/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/ecpglib/misc.c,v 1.7 2003/06/26 01:33:23 momjian Exp $ */
+/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/ecpglib/misc.c,v 1.8 2003/06/26 01:45:04 momjian Exp $ */
#define POSTGRES_ECPG_INTERNAL
#include "postgres_fe.h"
@@ -18,10 +18,11 @@
#include "pgtypes_timestamp.h"
#include "pgtypes_interval.h"
+#ifdef HAVE_LONG_LONG_INT_64
#ifndef LONG_LONG_MIN
#define LONG_LONG_MIN LLONG_MIN
#endif
-
+#endif
static struct sqlca_t sqlca_init =
{