Skip to content

Commit b143210

Browse files
committed
Wrap LONG_LONG_MIN redfinition around HAVE_LONG_LONG_INT_64.
1 parent 095a0c8 commit b143210

File tree

1 file changed

+3
-2
lines changed
  • src/interfaces/ecpg/ecpglib

1 file changed

+3
-2
lines changed

src/interfaces/ecpg/ecpglib/misc.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/ecpglib/misc.c,v 1.7 2003/06/26 01:33:23 momjian Exp $ */
1+
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/ecpglib/misc.c,v 1.8 2003/06/26 01:45:04 momjian Exp $ */
22

33
#define POSTGRES_ECPG_INTERNAL
44
#include "postgres_fe.h"
@@ -18,10 +18,11 @@
1818
#include "pgtypes_timestamp.h"
1919
#include "pgtypes_interval.h"
2020

21+
#ifdef HAVE_LONG_LONG_INT_64
2122
#ifndef LONG_LONG_MIN
2223
#define LONG_LONG_MIN LLONG_MIN
2324
#endif
24-
25+
#endif
2526

2627
static struct sqlca_t sqlca_init =
2728
{

0 commit comments

Comments
 (0)