public
Description: ruby lang (www.ruby-lang.org) svn mirror
Homepage: http://svn.ruby-lang.org/repos/ruby/
Clone URL: git://github.com/juretta/ruby.git
  * 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: http://svn.ruby-lang.org/repos/ruby/trunk@18051 
b2dd03c8-39d4-4d8f-98ff-823fe69b080e
usa (author)
Sat Jul 12 13:39:02 -0700 2008
commit  bdaea99b6c6a97e3590051c7fed5afcc04f99d34
tree    0424e7ef61380641ed5b962edd293d7191dd4dff
parent  1fa956e143325e343b42c842e0690f916cc322ba
...
 
 
 
 
 
 
1
2
3
...
1
2
3
4
5
6
7
8
9
0
@@ -1,3 +1,9 @@
0
+Sun Jul 13 05:37:50 2008 NAKAMURA Usaku <usa@ruby-lang.org>
0
+
0
+ * include/ruby/ruby.h (PRI_PTRDIFF_PREFIX, PRI_SIZE_PREFIX): typo.
0
+
0
+ * {bcc32,win32}/Makefile.sub: (SIZEOF_SIZE_T, SIZEOF_PTRDIFF_T): added.
0
+
0
 Sat Jul 12 23:54:55 2008 NAKAMURA Usaku <usa@ruby-lang.org>
0
 
0
   * win32/Makefile.sub (LIBRUBY_DLDFLAGS): import library which created
...
269
270
271
 
 
 
272
273
274
...
269
270
271
272
273
274
275
276
277
0
@@ -269,6 +269,9 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/bcc32/Makefile.sub
0
 \#define SIZEOF_FLOAT 4
0
 \#define SIZEOF_DOUBLE 8
0
 \#define SIZEOF_TIME_T 4
0
+\#define SIZEOF_RLIM_T 0
0
+\#define SIZEOF_SIZE_T 4
0
+\#define SIZEOF_PTRDIFF_T 4
0
 \#define HAVE_PROTOTYPES 1
0
 \#define TOKEN_PASTE(x,y) x\#\#y
0
 \#define HAVE_STDARG_PROTOTYPES 1
...
109
110
111
112
 
113
114
115
...
123
124
125
126
 
127
128
129
...
109
110
111
 
112
113
114
115
...
123
124
125
 
126
127
128
129
0
@@ -109,7 +109,7 @@ typedef unsigned LONG_LONG ID;
0
 # define PRI_PTRDIFF_PREFIX
0
 #elif SIZEOF_PTRDIFF_T == SIZEOF_LONG
0
 # define PRI_PTRDIFF_PREFIX "l"
0
-#elif SIZEOF_PTRDIFF_T == SIZEOF_LONG
0
+#elif SIZEOF_PTRDIFF_T == SIZEOF_LONG_LONG
0
 # define PRI_PTRDIFF_PREFIX "ll"
0
 #endif
0
 #define PRIdPTRDIFF PRI_PTRDIFF_PREFIX"d"
0
@@ -123,7 +123,7 @@ typedef unsigned LONG_LONG ID;
0
 # define PRI_SIZE_PREFIX
0
 #elif SIZEOF_SIZE_T == SIZEOF_LONG
0
 # define PRI_SIZE_PREFIX "l"
0
-#elif SIZEOF_SIZE_T == SIZEOF_LONG
0
+#elif SIZEOF_SIZE_T == SIZEOF_LONG_LONG
0
 # define PRI_SIZE_PREFIX "ll"
0
 #endif
0
 #define PRIdSIZE PRI_SIZE_PREFIX"d"
...
342
343
344
 
 
 
 
 
 
 
 
345
346
347
...
342
343
344
345
346
347
348
349
350
351
352
353
354
355
0
@@ -342,6 +342,14 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub
0
 !else
0
 #define SIZEOF_TIME_T 4
0
 !endif
0
+#define SIZEOF_RLIM_T 0
0
+!if "$(ARCH)" == "x64" || "$(ARCH)" == "ia64"
0
+#define SIZEOF_SIZE_T 8
0
+#define SIZEOF_PTRDIFF_T 8
0
+!else
0
+#define SIZEOF_SIZE_T 4
0
+#define SIZEOF_PTRDIFF_T 4
0
+!endif
0
 #define HAVE_PROTOTYPES 1
0
 #define TOKEN_PASTE(x,y) x##y
0
 #define HAVE_STDARG_PROTOTYPES 1

Comments

    No one has commented yet.