mirror of
https://github.com/n64decomp/sm64.git
synced 2024-11-16 06:15:11 -05:00
12 lines
360 B
C
12 lines
360 B
C
#ifndef MAKE_CONST_NONCONST_H
|
|
#define MAKE_CONST_NONCONST_H
|
|
|
|
#ifdef TARGET_N64
|
|
// IDO sometimes puts const variables in .rodata and sometimes in .data, which breaks ordering.
|
|
// 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.
|
|
#define const
|
|
#endif
|
|
|
|
#endif // MAKE_CONST_NONCONST_H
|