Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit11b274f

Browse files
committed
Fix some ill-considered ifdefs, per report from Hans-JÏrgen SchÎnig.
1 parent58ad65e commit11b274f

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-
#ifdefHAVE_INT64
9291
casePGTYPES_TYPE_INT64:
9392
i=snprintf(t,PGTYPES_FMT_NUM_MAX_DIGITS,
9493
INT64_FORMAT,replace_val.int64_val);
9594
break;
96-
#endif
9795
casePGTYPES_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
charchar_val;
3030
unsigned longintluint_val;
3131
doubledouble_val;
32-
#ifdefHAVE_INT64_TIMESTAMP
3332
int64int64_val;
34-
#endif
3533
};
3634

3735
intpgtypes_fmt_replace(unionun_fmt_comb,int,char**,int*);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp