sm64coopdx/include/make_const_nonconst.h

12 lines
335 B
C
Raw Normal View History

2019-11-03 19:36:27 +00:00
#ifndef MAKE_CONST_NONCONST_H
#define MAKE_CONST_NONCONST_H
2020-04-03 18:57:26 +00:00
#ifdef TARGET_N64
2019-11-03 19:36:27 +00:00
// IDO sometimes puts const variables in .rodata and sometimes in .data, which breaks ordering.
2020-04-03 18:57:26 +00: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 19:36:27 +00:00
#define const
#endif
#endif