summaryrefslogtreecommitdiff
path: root/ext/win32ole
diff options
context:
space:
mode:
Diffstat (limited to 'ext/win32ole')
-rw-r--r--ext/win32ole/win32ole.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/ext/win32ole/win32ole.c b/ext/win32ole/win32ole.c
index 2a5fbfd1a8..31ed28ad44 100644
--- a/ext/win32ole/win32ole.c
+++ b/ext/win32ole/win32ole.c
@@ -3301,11 +3301,6 @@ fole_missing(int argc, VALUE *argv, VALUE self)
rb_raise(rb_eRuntimeError, "fail: unknown method or property");
}
n = RSTRING_LEN(mid);
-#if SIZEOF_SIZE_T > SIZEOF_LONG
- if (n >= LONG_MAX) {
- rb_raise(rb_eRuntimeError, "too long method or property name");
- }
-#endif
if(mname[n-1] == '=') {
rb_check_arity(argc, 2, 2);
argv[0] = rb_enc_str_new(mname, (n-1), cWIN32OLE_enc);