mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
ruby/internal/config.h needs to be included first
to define USE_MJIT.
This commit is contained in:
parent
0a2b987696
commit
2700df3c9d
3 changed files with 4 additions and 3 deletions
3
mjit.c
3
mjit.c
|
@ -11,9 +11,10 @@
|
|||
|
||||
// To share variables privately, include mjit_worker.c instead of linking.
|
||||
|
||||
#include "ruby/internal/config.h" // defines USE_MJIT
|
||||
|
||||
#if USE_MJIT
|
||||
|
||||
#include "ruby/internal/config.h"
|
||||
#include "constant.h"
|
||||
#include "id_table.h"
|
||||
#include "internal.h"
|
||||
|
|
2
mjit.h
2
mjit.h
|
@ -8,7 +8,7 @@
|
|||
|
||||
**********************************************************************/
|
||||
|
||||
#include "ruby/internal/config.h"
|
||||
#include "ruby/internal/config.h" // defines USE_MJIT
|
||||
#include "ruby/internal/stdbool.h"
|
||||
#include "vm_core.h"
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
// call Ruby methods (C functions that may call rb_funcall) or trigger
|
||||
// GC (using ZALLOC, xmalloc, xfree, etc.) in this file.
|
||||
|
||||
#include "ruby/internal/config.h"
|
||||
#include "ruby/internal/config.h" // defines USE_MJIT
|
||||
|
||||
#if USE_MJIT
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue