diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-09-21 17:42:22 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-09-21 17:42:22 +0000 |
commit | 11b274f00f6c84eb36f787331172b15b2bd47ab1 (patch) | |
tree | 5eb9a98a8319cc08aaaffdd2a385b27aef9c209a /src | |
parent | 58ad65ec2defe64b0e1f09e93b8251d6c4ef8878 (diff) | |
download | postgresql-11b274f00f6c84eb36f787331172b15b2bd47ab1.tar.gz postgresql-11b274f00f6c84eb36f787331172b15b2bd47ab1.zip |
Fix some ill-considered ifdefs, per report from Hans-JÏrgen SchÎnig.
Diffstat (limited to 'src')
-rw-r--r-- | src/interfaces/ecpg/pgtypeslib/common.c | 2 | ||||
-rw-r--r-- | src/interfaces/ecpg/pgtypeslib/extern.h | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/src/interfaces/ecpg/pgtypeslib/common.c b/src/interfaces/ecpg/pgtypeslib/common.c index 986d8fc3f00..d4b40098089 100644 --- a/src/interfaces/ecpg/pgtypeslib/common.c +++ b/src/interfaces/ecpg/pgtypeslib/common.c @@ -88,12 +88,10 @@ pgtypes_fmt_replace(union un_fmt_comb replace_val, int replace_type, char **outp i = snprintf(t, PGTYPES_FMT_NUM_MAX_DIGITS, "%0.0g", replace_val.double_val); break; -#ifdef HAVE_INT64 case PGTYPES_TYPE_INT64: i = snprintf(t, PGTYPES_FMT_NUM_MAX_DIGITS, INT64_FORMAT, replace_val.int64_val); break; -#endif case PGTYPES_TYPE_UINT: i = snprintf(t, PGTYPES_FMT_NUM_MAX_DIGITS, "%u", replace_val.uint_val); diff --git a/src/interfaces/ecpg/pgtypeslib/extern.h b/src/interfaces/ecpg/pgtypeslib/extern.h index 110f56b5c9e..3475992d28e 100644 --- a/src/interfaces/ecpg/pgtypeslib/extern.h +++ b/src/interfaces/ecpg/pgtypeslib/extern.h @@ -29,9 +29,7 @@ union un_fmt_comb char char_val; unsigned long int luint_val; double double_val; -#ifdef HAVE_INT64_TIMESTAMP int64 int64_val; -#endif }; int pgtypes_fmt_replace(union un_fmt_comb, int, char **, int *); |