summaryrefslogtreecommitdiffstats
path: root/include/ruby/ruby.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-12 13:41:42 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-12 13:41:42 +0000
commit9fe02665484b1713661719df0658794ceabbb200 (patch)
tree8ca4bf97c75fefd308cefb45d19668b2ed71d889 /include/ruby/ruby.h
parent4de4b32504010c98156f072b2fb1cbdc3c8c1643 (diff)
downloadruby-9fe02665484b1713661719df0658794ceabbb200.tar.gz
ruby-9fe02665484b1713661719df0658794ceabbb200.tar.xz
ruby-9fe02665484b1713661719df0658794ceabbb200.zip
* include/ruby/ruby.h (PRI_PTRDIFF_PREFIX, PRI_SIZE_PREFIX): fixed typo.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/ruby.h')
-rw-r--r--include/ruby/ruby.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h
index 67c22af9a..b297231ea 100644
--- a/include/ruby/ruby.h
+++ b/include/ruby/ruby.h
@@ -106,11 +106,11 @@ typedef unsigned LONG_LONG ID;
#define PRIXVALUE PRI_VALUE_PREFIX"X"
#if SIZEOF_PTRDIFF_T == SIZEOF_INT
-# define PRI_PTDIFF_PREFIX
+# define PRI_PTRDIFF_PREFIX
#elif SIZEOF_PTRDIFF_T == SIZEOF_LONG
-# define PRI_PTDIFF_PREFIX "l"
+# define PRI_PTRDIFF_PREFIX "l"
#elif SIZEOF_PTRDIFF_T == SIZEOF_LONG
-# define PRI_PTDIFF_PREFIX "ll"
+# define PRI_PTRDIFF_PREFIX "ll"
#endif
#define PRIdPTRDIFF PRI_PTRDIFF_PREFIX"d"
#define PRIiPTRDIFF PRI_PTRDIFF_PREFIX"i"
@@ -120,11 +120,11 @@ typedef unsigned LONG_LONG ID;
#define PRIXPTRDIFF PRI_PTRDIFF_PREFIX"X"
#if SIZEOF_SIZE_T == SIZEOF_INT
-# define PRI_PTDIFF_PREFIX
+# define PRI_SIZE_PREFIX
#elif SIZEOF_SIZE_T == SIZEOF_LONG
-# define PRI_PTDIFF_PREFIX "l"
+# define PRI_SIZE_PREFIX "l"
#elif SIZEOF_SIZE_T == SIZEOF_LONG
-# define PRI_PTDIFF_PREFIX "ll"
+# define PRI_SIZE_PREFIX "ll"
#endif
#define PRIdSIZE PRI_SIZE_PREFIX"d"
#define PRIiSIZE PRI_SIZE_PREFIX"i"