mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* include/ruby/ruby.h (PRI_PTRDIFF_PREFIX, PRI_SIZE_PREFIX): typo.
* {bcc32,win32}/Makefile.sub: (SIZEOF_SIZE_T, SIZEOF_PTRDIFF_T): added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2d46553ffa
commit
a0fe21b362
4 changed files with 19 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
Sun Jul 13 05:37:50 2008 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* include/ruby/ruby.h (PRI_PTRDIFF_PREFIX, PRI_SIZE_PREFIX): typo.
|
||||
|
||||
* {bcc32,win32}/Makefile.sub: (SIZEOF_SIZE_T, SIZEOF_PTRDIFF_T): added.
|
||||
|
||||
Sat Jul 12 23:54:55 2008 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* win32/Makefile.sub (LIBRUBY_DLDFLAGS): import library which created
|
||||
|
|
|
@ -269,6 +269,9 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/bcc32/Makefile.sub
|
|||
\#define SIZEOF_FLOAT 4
|
||||
\#define SIZEOF_DOUBLE 8
|
||||
\#define SIZEOF_TIME_T 4
|
||||
\#define SIZEOF_RLIM_T 0
|
||||
\#define SIZEOF_SIZE_T 4
|
||||
\#define SIZEOF_PTRDIFF_T 4
|
||||
\#define HAVE_PROTOTYPES 1
|
||||
\#define TOKEN_PASTE(x,y) x\#\#y
|
||||
\#define HAVE_STDARG_PROTOTYPES 1
|
||||
|
|
|
@ -109,7 +109,7 @@ typedef unsigned LONG_LONG ID;
|
|||
# define PRI_PTRDIFF_PREFIX
|
||||
#elif SIZEOF_PTRDIFF_T == SIZEOF_LONG
|
||||
# define PRI_PTRDIFF_PREFIX "l"
|
||||
#elif SIZEOF_PTRDIFF_T == SIZEOF_LONG
|
||||
#elif SIZEOF_PTRDIFF_T == SIZEOF_LONG_LONG
|
||||
# define PRI_PTRDIFF_PREFIX "ll"
|
||||
#endif
|
||||
#define PRIdPTRDIFF PRI_PTRDIFF_PREFIX"d"
|
||||
|
@ -123,7 +123,7 @@ typedef unsigned LONG_LONG ID;
|
|||
# define PRI_SIZE_PREFIX
|
||||
#elif SIZEOF_SIZE_T == SIZEOF_LONG
|
||||
# define PRI_SIZE_PREFIX "l"
|
||||
#elif SIZEOF_SIZE_T == SIZEOF_LONG
|
||||
#elif SIZEOF_SIZE_T == SIZEOF_LONG_LONG
|
||||
# define PRI_SIZE_PREFIX "ll"
|
||||
#endif
|
||||
#define PRIdSIZE PRI_SIZE_PREFIX"d"
|
||||
|
|
|
@ -342,6 +342,14 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub
|
|||
!else
|
||||
#define SIZEOF_TIME_T 4
|
||||
!endif
|
||||
#define SIZEOF_RLIM_T 0
|
||||
!if "$(ARCH)" == "x64" || "$(ARCH)" == "ia64"
|
||||
#define SIZEOF_SIZE_T 8
|
||||
#define SIZEOF_PTRDIFF_T 8
|
||||
!else
|
||||
#define SIZEOF_SIZE_T 4
|
||||
#define SIZEOF_PTRDIFF_T 4
|
||||
!endif
|
||||
#define HAVE_PROTOTYPES 1
|
||||
#define TOKEN_PASTE(x,y) x##y
|
||||
#define HAVE_STDARG_PROTOTYPES 1
|
||||
|
|
Loading…
Reference in a new issue