OSDN Git Service
(root)
/
pg-rex
/
syncrep.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2de9a46
)
Set proper sizes for size_t and void* on 64-bit Windows builds.
author
Magnus Hagander
<magnus@hagander.net>
Sat, 2 Jan 2010 13:56:37 +0000
(13:56 +0000)
committer
Magnus Hagander
<magnus@hagander.net>
Sat, 2 Jan 2010 13:56:37 +0000
(13:56 +0000)
Tsutomu Yamada
src/include/pg_config.h.win32
patch
|
blob
|
history
diff --git
a/src/include/pg_config.h.win32
b/src/include/pg_config.h.win32
index
573a53e
..
76f3731
100644
(file)
--- a/
src/include/pg_config.h.win32
+++ b/
src/include/pg_config.h.win32
@@
-589,10
+589,18
@@
#define SIZEOF_LONG 4
/* The size of `size_t', as computed by sizeof. */
+#ifndef _WIN64
#define SIZEOF_SIZE_T 4
+#else
+#define SIZEOF_SIZE_T 8
+#endif
/* The size of `void *', as computed by sizeof. */
+#ifndef _WIN64
#define SIZEOF_VOID_P 4
+#else
+#define SIZEOF_VOID_P 8
+#endif
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1