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

Commit8491998

Browse files
committed
Set proper sizes for size_t and void* on 64-bit Windows builds.
Tsutomu Yamada
1 parent2de9a46 commit8491998

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

‎src/include/pg_config.h.win32

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,10 +589,18 @@
589589
#define SIZEOF_LONG 4
590590

591591
/* The size of `size_t', as computed by sizeof. */
592+
#ifndef _WIN64
592593
#define SIZEOF_SIZE_T 4
594+
#else
595+
#define SIZEOF_SIZE_T 8
596+
#endif
593597

594598
/* The size of `void *', as computed by sizeof. */
599+
#ifndef _WIN64
595600
#define SIZEOF_VOID_P 4
601+
#else
602+
#define SIZEOF_VOID_P 8
603+
#endif
596604

597605
/* Define to 1 if you have the ANSI C header files. */
598606
#define STDC_HEADERS 1

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp