mirror of
https://github.com/ruby/ruby.git
synced 2025-09-20 11:03:58 +02:00
* include/ruby/ruby.h (PRI_PTRDIFF_PREFIX): must define as string.
if not, cause compile error in using PRI?VALUE. * win32/Makefile.sub (config.h): add SIZEOF_INTPTR_T and SIZEOF_UINTPTR_T for SIZEOF_VALUE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0be716237d
commit
f1e87dd9ac
3 changed files with 13 additions and 1 deletions
|
@ -85,7 +85,7 @@ typedef uintptr_t VALUE;
|
|||
typedef uintptr_t ID;
|
||||
# define SIGNED_VALUE intptr_t
|
||||
# define SIZEOF_VALUE SIZEOF_UINTPTR_T
|
||||
# undef PRI_VALUE_PREFIX
|
||||
# define PRI_VALUE_PREFIX ""
|
||||
#elif SIZEOF_LONG == SIZEOF_VOIDP
|
||||
typedef unsigned long VALUE;
|
||||
typedef unsigned long ID;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue