diff --git a/ext/-test-/namespace/yay1/yay1.def b/ext/-test-/namespace/yay1/yay1.def index edbae87312..510fbe7017 100644 --- a/ext/-test-/namespace/yay1/yay1.def +++ b/ext/-test-/namespace/yay1/yay1.def @@ -1,4 +1,3 @@ -LIBRARY yay1 EXPORTS Init_yay1 yay_value diff --git a/ext/-test-/namespace/yay1/yay1.h b/ext/-test-/namespace/yay1/yay1.h index d68f8b5523..c4dade928a 100644 --- a/ext/-test-/namespace/yay1/yay1.h +++ b/ext/-test-/namespace/yay1/yay1.h @@ -1,4 +1,4 @@ #include #include "ruby/internal/dllexport.h" -RUBY_EXTERN VALUE yay_value(void); +RUBY_FUNC_EXPORTED VALUE yay_value(void); diff --git a/ext/-test-/namespace/yay2/yay2.def b/ext/-test-/namespace/yay2/yay2.def index 6bb6011f4b..163fc44c04 100644 --- a/ext/-test-/namespace/yay2/yay2.def +++ b/ext/-test-/namespace/yay2/yay2.def @@ -1,4 +1,3 @@ -LIBRARY yay2 EXPORTS Init_yay2 yay_value diff --git a/ext/-test-/namespace/yay2/yay2.h b/ext/-test-/namespace/yay2/yay2.h index d68f8b5523..c4dade928a 100644 --- a/ext/-test-/namespace/yay2/yay2.h +++ b/ext/-test-/namespace/yay2/yay2.h @@ -1,4 +1,4 @@ #include #include "ruby/internal/dllexport.h" -RUBY_EXTERN VALUE yay_value(void); +RUBY_FUNC_EXPORTED VALUE yay_value(void);