summaryrefslogtreecommitdiff
path: root/ext/win32ole/win32ole.h
diff options
context:
space:
mode:
authorsuke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-10-07 10:24:56 +0000
committersuke <suke@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-10-07 10:24:56 +0000
commit5dd01af28fab4f7442251fa93d1a686f3a6d82ee (patch)
treebedcb304d07c2e56041c4d62ca1963b1b5f70040 /ext/win32ole/win32ole.h
parent6b35c34c6808f24f6ac8f03d99620a6406676b0e (diff)
ext/win32ole/*.c, ext/win32ole/win32ole.h: use RB_INT2FIX instead of
INT2FIX, and so on. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/win32ole/win32ole.h')
-rw-r--r--ext/win32ole/win32ole.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/win32ole/win32ole.h b/ext/win32ole/win32ole.h
index d61f5e2..c019930 100644
--- a/ext/win32ole/win32ole.h
+++ b/ext/win32ole/win32ole.h
@@ -85,13 +85,13 @@
#ifdef HAVE_LONG_LONG
#define I8_2_NUM LL2NUM
#define UI8_2_NUM ULL2NUM
-#define NUM2I8 NUM2LL
-#define NUM2UI8 NUM2ULL
+#define NUM2I8 RB_NUM2LL
+#define NUM2UI8 RB_NUM2ULL
#else
-#define I8_2_NUM INT2NUM
-#define UI8_2_NUM UINT2NUM
-#define NUM2I8 NUM2INT
-#define NUM2UI8 NUM2UINT
+#define I8_2_NUM RB_INT2NUM
+#define UI8_2_NUM RB_UINT2NUM
+#define NUM2I8 RB_NUM2INT
+#define NUM2UI8 RB_NUM2UINT
#endif
#define OLE_ADDREF(X) (X) ? ((X)->lpVtbl->AddRef(X)) : 0