Lines 42-47
Link Here
|
42 |
#define text_section __declspec(allocate(".text")) |
42 |
#define text_section __declspec(allocate(".text")) |
43 |
#elif defined(__APPLE__) && defined(__MACH__) |
43 |
#elif defined(__APPLE__) && defined(__MACH__) |
44 |
#define text_section __attribute__((section("__TEXT,__text"))) |
44 |
#define text_section __attribute__((section("__TEXT,__text"))) |
|
|
45 |
#elif defined(__clang__) |
46 |
#define text_section __attribute__((section(".text"))) |
45 |
#else |
47 |
#else |
46 |
#define text_section __attribute__((section(".text#"))) |
48 |
#define text_section __attribute__((section(".text#"))) |
47 |
#endif |
49 |
#endif |