summaryrefslogtreecommitdiff
path: root/ruby.h
diff options
context:
space:
mode:
Diffstat (limited to 'ruby.h')
-rw-r--r--ruby.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/ruby.h b/ruby.h
index b613329..1ab4459 100644
--- a/ruby.h
+++ b/ruby.h
@@ -70,14 +70,11 @@ extern "C" {
# define alloca __alloca
#endif
-#if SIZEOF_LONG == SIZEOF_VOIDP
+#if SIZEOF_LONG != SIZEOF_VOIDP
+# error ---->> ruby requires sizeof(void*) == sizeof(long) to be compiled. <<----
+#else
typedef unsigned long VALUE;
typedef unsigned long ID;
-#elif SIZEOF_LONG_LONG == SIZEOF_VOIDP
-typedef unsigned LONG_LONG VALUE;
-typedef unsigned LONG_LONG ID;
-#else
-# error ---->> ruby requires sizeof(void*) == sizeof(long) to be compiled. <<----
#endif
#ifdef __STDC__