sm64

A Super Mario 64 decompilation
Log | Files | Refs | README | LICENSE

make_const_nonconst.h (360B)


      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