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

Commitab737f6

Browse files
committed
Fix Windows portability issue in23a27b0.
_strtoui64() is available in MSVC builds, but apparently not withother Windows toolchains. Thanks to Petr Jelinek for the diagnosis.
1 parentfc7a9df commitab737f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/backend/utils/adt/numutils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ pg_ltostr(char *str, int32 value)
402402
uint64
403403
pg_strtouint64(constchar*str,char**endptr,intbase)
404404
{
405-
#ifdefWIN32
405+
#ifdef_MSC_VER/* MSVC only */
406406
return_strtoui64(str,endptr,base);
407407
#elif defined(HAVE_STRTOULL)&&SIZEOF_LONG<8
408408
returnstrtoull(str,endptr,base);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp