summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-04-20 22:39:02 +0900
committerYukihiro Matsumoto <[email protected]>2012-04-20 22:39:02 +0900
commit0f0ad36c5f4b00781b96e2cae595672aa84e57c7 (patch)
tree0e2ab5387495c068c33ba4fe7eedd1fc5feac03b
parent1f78ba77a2efb23f637e79a9b1120b5e316f870a (diff)
downloadmruby-0f0ad36c5f4b00781b96e2cae595672aa84e57c7.tar.gz
mruby-0f0ad36c5f4b00781b96e2cae595672aa84e57c7.zip
remove dependency to SIZEOF___INT64
-rw-r--r--include/mrbconf.h1
-rw-r--r--src/numeric.c5
2 files changed, 0 insertions, 6 deletions
diff --git a/include/mrbconf.h b/include/mrbconf.h
index 6dccaccec..5d377e3e3 100644
--- a/include/mrbconf.h
+++ b/include/mrbconf.h
@@ -24,7 +24,6 @@ typedef intptr_t mrb_sym;
#define SIZEOF_LONG 4
#define SIZEOF_LONG_LONG 8
-#define SIZEOF___INT64 0
#define SIZEOF_FLOAT 4
#define SIZEOF_DOUBLE 8
diff --git a/src/numeric.c b/src/numeric.c
index b03e57ce6..113c9b062 100644
--- a/src/numeric.c
+++ b/src/numeric.c
@@ -90,11 +90,6 @@
#if SIZEOF_LONG_LONG > 0
# define LONG_LONG long long
-#elif SIZEOF___INT64 > 0
-# define HAVE_LONG_LONG 1
-# define LONG_LONG __int64
-# undef SIZEOF_LONG_LONG
-# define SIZEOF_LONG_LONG SIZEOF___INT64
#endif
typedef uintptr_t VALUE;