diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-13 16:21:07 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-10-13 16:21:07 +0000 |
commit | f2427a436f7161d7ceb828d1a4d291f121291485 (patch) | |
tree | ad50e7647ac41b79ea6cf6b1e515e7dc21040ae6 /win32 | |
parent | 262437b4570087e5743a3db71b550a1d6448401b (diff) | |
download | ruby-f2427a436f7161d7ceb828d1a4d291f121291485.tar.gz |
Define PRIdPTR etc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r-- | win32/Makefile.sub | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub index db90ad7581..9a9e2b4724 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -762,8 +762,10 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub #define HAVE_SSIZE_T 1 !if "$(ARCH)" == "x64" || "$(ARCH)" == "ia64" #define ssize_t __int64 +#define PRI_PTR_PREFIX "I64" !else #define ssize_t int +#define PRI_PTR_PREFIX PRI_INT_PREFIX !endif #define PRI_LL_PREFIX "I64" #define PRI_PIDT_PREFIX PRI_INT_PREFIX |