Skip to content

Commit 11b274f

Browse files
committed
Fix some ill-considered ifdefs, per report from Hans-JÏrgen SchÎnig.
1 parent 58ad65e commit 11b274f

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/interfaces/ecpg/pgtypeslib/common.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,10 @@ pgtypes_fmt_replace(union un_fmt_comb replace_val, int replace_type, char **outp
8888
i = snprintf(t, PGTYPES_FMT_NUM_MAX_DIGITS,
8989
"%0.0g", replace_val.double_val);
9090
break;
91-
#ifdef HAVE_INT64
9291
case PGTYPES_TYPE_INT64:
9392
i = snprintf(t, PGTYPES_FMT_NUM_MAX_DIGITS,
9493
INT64_FORMAT, replace_val.int64_val);
9594
break;
96-
#endif
9795
case PGTYPES_TYPE_UINT:
9896
i = snprintf(t, PGTYPES_FMT_NUM_MAX_DIGITS,
9997
"%u", replace_val.uint_val);

src/interfaces/ecpg/pgtypeslib/extern.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@ union un_fmt_comb
2929
char char_val;
3030
unsigned long int luint_val;
3131
double double_val;
32-
#ifdef HAVE_INT64_TIMESTAMP
3332
int64 int64_val;
34-
#endif
3533
};
3634

3735
int pgtypes_fmt_replace(union un_fmt_comb, int, char **, int *);

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