summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
Diffstat (limited to 'win32')
-rw-r--r--win32/config.h6
-rw-r--r--win32/ruby.def10
2 files changed, 14 insertions, 2 deletions
diff --git a/win32/config.h b/win32/config.h
index cf5cb332bf..c0bbd4212c 100644
--- a/win32/config.h
+++ b/win32/config.h
@@ -1,4 +1,10 @@
#define THREAD 1
+#define SIZEOF_INT 4
+#define SIZEOF_LONG 4
+#define SIZEOF_VOIDP 4
+#define HAVE_PROTOTYPES 1
+#define HAVE_STDARG_PROTOTYPES 1
+#define HAVE_ATTR_NORETURN 1
/* #define HAVE_DIRENT_H 1 */
/* #define HAVE_UNISTD_H 1 */
#define HAVE_STDLIB_H 1
diff --git a/win32/ruby.def b/win32/ruby.def
index 1d04c3fabc..55e212fcae 100644
--- a/win32/ruby.def
+++ b/win32/ruby.def
@@ -126,6 +126,7 @@ EXPORTS
rb_define_method
rb_undef_method
rb_define_private_method
+ rb_define_protected_method
rb_singleton_class
rb_define_singleton_method
rb_define_module_function
@@ -143,6 +144,7 @@ EXPORTS
; error.c
Error
Error_Append
+ Warn
Warning
Bug
rb_check_type
@@ -161,8 +163,11 @@ EXPORTS
rb_sys_fail
;eval.c
rb_clear_cache
- rb_add_method
rb_alias
+ rb_add_method
+ rb_remove_method
+ rb_disable_super
+ rb_enable_super
rb_method_boundp
dyna_var_defined
dyna_var_ref
@@ -261,7 +266,8 @@ EXPORTS
num_coerce_bin
float_new
flo_pow
- num2int
+ num2long
+ num2ulong
num2fix
fix2str
fix_to_s