Guitarix
gx_compiler.h
Go to the documentation of this file.
1 #ifndef SRC_HEADERS_GX_COMPILER_H_
2 #define SRC_HEADERS_GX_COMPILER_H_
3 #ifdef __APPLE__
4 #define __rt_func //__attribute__((section("TEXT,.rt.text")))
5 #define __rt_data //__attribute__((section("DATA,.rt.data")))
6 #else
7 #define __rt_func __attribute__((section(".rt.text")))
8 #define __rt_data __attribute__((section(".rt.data")))
9 #endif
10 #endif // SRC_HEADERS_GX_COMPILER_H_