From 11b274f00f6c84eb36f787331172b15b2bd47ab1 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 21 Sep 2003 17:42:22 +0000 Subject: [PATCH] =?utf8?q?Fix=20some=20ill-considered=20ifdefs,=20per=20re?= =?utf8?q?port=20from=20Hans-J=C3=8Frgen=20Sch=C3=8Enig.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/interfaces/ecpg/pgtypeslib/common.c | 2 -- src/interfaces/ecpg/pgtypeslib/extern.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/interfaces/ecpg/pgtypeslib/common.c b/src/interfaces/ecpg/pgtypeslib/common.c index 986d8fc3f0..d4b4009808 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 110f56b5c9..3475992d28 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 *); -- 2.40.0