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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy