[前][次][番号順一覧][スレッド一覧]

ruby-changes:6535

From: usa <ko1@a...>
Date: Sun, 13 Jul 2008 05:39:17 +0900 (JST)
Subject: [ruby-changes:6535] Ruby:r18051 (trunk): * include/ruby/ruby.h (PRI_PTRDIFF_PREFIX, PRI_SIZE_PREFIX): typo.

usa	2008-07-13 05:39:02 +0900 (Sun, 13 Jul 2008)

  New Revision: 18051

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=18051

  Log:
    * include/ruby/ruby.h (PRI_PTRDIFF_PREFIX, PRI_SIZE_PREFIX): typo.
    
    * {bcc32,win32}/Makefile.sub: (SIZEOF_SIZE_T, SIZEOF_PTRDIFF_T): added.

  Modified files:
    trunk/ChangeLog
    trunk/bcc32/Makefile.sub
    trunk/include/ruby/ruby.h
    trunk/win32/Makefile.sub

Index: include/ruby/ruby.h
===================================================================
--- include/ruby/ruby.h	(revision 18050)
+++ include/ruby/ruby.h	(revision 18051)
@@ -109,7 +109,7 @@
 # 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 @@
 # 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"
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 18050)
+++ ChangeLog	(revision 18051)
@@ -1,3 +1,9 @@
+Sun Jul 13 05:37:50 2008  NAKAMURA Usaku  <usa@r...>
+
+	* 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@r...>
 
 	* win32/Makefile.sub (LIBRUBY_DLDFLAGS): import library which created
Index: win32/Makefile.sub
===================================================================
--- win32/Makefile.sub	(revision 18050)
+++ win32/Makefile.sub	(revision 18051)
@@ -342,6 +342,14 @@
 !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
Index: bcc32/Makefile.sub
===================================================================
--- bcc32/Makefile.sub	(revision 18050)
+++ bcc32/Makefile.sub	(revision 18051)
@@ -269,6 +269,9 @@
 \#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

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]