Skip to content

Commit 095a0c8

Browse files
committed
Fix compile problem for missing LONG_LONG_MIN on BSD/OS.
1 parent 9279a80 commit 095a0c8

File tree

1 file changed

+6
-1
lines changed
  • src/interfaces/ecpg/ecpglib

1 file changed

+6
-1
lines changed

src/interfaces/ecpg/ecpglib/misc.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/ecpglib/misc.c,v 1.6 2003/06/25 11:51:18 meskes Exp $ */
1+
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/ecpglib/misc.c,v 1.7 2003/06/26 01:33:23 momjian Exp $ */
22

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

21+
#ifndef LONG_LONG_MIN
22+
#define LONG_LONG_MIN LLONG_MIN
23+
#endif
24+
25+
2126
static struct sqlca_t sqlca_init =
2227
{
2328
{

0 commit comments

Comments
 (0)