diff --git a/mjit.c b/mjit.c index c3ed401139..28ad5ca917 100644 --- a/mjit.c +++ b/mjit.c @@ -69,6 +69,10 @@ constraint. So the correct version of code based on SIGCHLD and WNOHANG waitpid would be very complicated. */ +#ifdef __sun +#define __EXTENSIONS__ 1 +#endif + #ifdef _WIN32 #include #include @@ -78,10 +82,6 @@ #include #endif -#ifdef __sun -#define __EXTENSIONS__ 1 -#endif - #include "vm_core.h" #include "mjit.h" #include "version.h"