2019-11-03 14:36:27 -05:00
|
|
|
#ifndef MAKE_CONST_NONCONST_H
|
|
|
|
#define MAKE_CONST_NONCONST_H
|
|
|
|
|
2020-04-03 14:57:26 -04:00
|
|
|
#ifdef TARGET_N64
|
2019-11-03 14:36:27 -05:00
|
|
|
// IDO sometimes puts const variables in .rodata and sometimes in .data, which breaks ordering.
|
2020-04-03 14:57:26 -04:00
|
|
|
// This makes sure all variables are put into the same section (.data). We need to do this for
|
|
|
|
// both IDO and gcc for TARGET_N64.
|
2019-11-03 14:36:27 -05:00
|
|
|
#define const
|
|
|
|
#endif
|
|
|
|
|
2020-06-02 12:44:34 -04:00
|
|
|
#endif // MAKE_CONST_NONCONST_H
|