diff options
-rw-r--r-- | mjit.c | 3 | ||||
-rw-r--r-- | mjit_c.c | 3 |
2 files changed, 6 insertions, 0 deletions
@@ -9,6 +9,9 @@ #include "ruby/internal/config.h" // defines USE_MJIT +// ISO C requires a translation unit to contain at least one declaration +void rb_mjit(void) {} + #if USE_MJIT #include "constant.h" @@ -8,6 +8,9 @@ #include "ruby/internal/config.h" // defines USE_MJIT +// ISO C requires a translation unit to contain at least one declaration +void rb_mjit_c(void) {} + #if USE_MJIT #include "mjit.h" |