Line 0
Link Here
|
|
|
1 |
--- lib/monkey/deps/flb_libco/settings.h.orig 2020-11-16 20:40:21 UTC |
2 |
+++ lib/monkey/deps/flb_libco/settings.h |
3 |
@@ -42,6 +42,8 @@ |
4 |
#define text_section __declspec(allocate(".text")) |
5 |
#elif defined(__APPLE__) && defined(__MACH__) |
6 |
#define text_section __attribute__((section("__TEXT,__text"))) |
7 |
+#elif defined(__clang__) |
8 |
+ #define text_section __attribute__((section(".text"))) |
9 |
#else |
10 |
#define text_section __attribute__((section(".text#"))) |
11 |
#endif |