Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
MorsGames
GitHub Repository: MorsGames/sm64plus
Path: blob/master/include/make_const_nonconst.h
7854 views
1
#ifndef MAKE_CONST_NONCONST_H
2
#define MAKE_CONST_NONCONST_H
3
4
#ifdef TARGET_N64
5
// IDO sometimes puts const variables in .rodata and sometimes in .data, which breaks ordering.
6
// This makes sure all variables are put into the same section (.data). We need to do this for
7
// both IDO and gcc for TARGET_N64.
8
#define const
9
#endif
10
11
#endif // MAKE_CONST_NONCONST_H
12
13