- Fixed GCC/Clang compile errors.

This commit is contained in:
Edoardo Prezioso 2016-11-22 21:16:13 +01:00
parent 980c986305
commit e2167c661c
2 changed files with 3 additions and 1 deletions

View file

@ -264,12 +264,14 @@ char ( &_ArraySizeHelper( T (&array)[N] ))[N];
#ifdef __MACH__ #ifdef __MACH__
#define SECTION_AREG "__DATA,areg" #define SECTION_AREG "__DATA,areg"
#define SECTION_CREG "__DATA,creg" #define SECTION_CREG "__DATA,creg"
#define SECTION_FREG "__DATA,freg"
#define SECTION_GREG "__DATA,greg" #define SECTION_GREG "__DATA,greg"
#define SECTION_MREG "__DATA,mreg" #define SECTION_MREG "__DATA,mreg"
#define SECTION_YREG "__DATA,yreg" #define SECTION_YREG "__DATA,yreg"
#else #else
#define SECTION_AREG "areg" #define SECTION_AREG "areg"
#define SECTION_CREG "creg" #define SECTION_CREG "creg"
#define SECTION_FREG "freg"
#define SECTION_GREG "greg" #define SECTION_GREG "greg"
#define SECTION_MREG "mreg" #define SECTION_MREG "mreg"
#define SECTION_YREG "yreg" #define SECTION_YREG "yreg"