Changes in libcfa/src/bits/defs.hfa [b443db0:8108ba8]
- File:
-
- 1 edited
-
libcfa/src/bits/defs.hfa (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/bits/defs.hfa
rb443db0 r8108ba8 24 24 #define likely(x) __builtin_expect(!!(x), 1) 25 25 #define unlikely(x) __builtin_expect(!!(x), 0) 26 #define thread_local _Thread_local 26 27 27 28 typedef void (*fptr_t)(); … … 36 37 #endif 37 38 38 39 #if defined(__has_attribute)40 #if !__has_attribute(__noclone__)41 #define ATTRIBUTE_NOCLONE42 #endif43 #endif44 #ifndef ATTRIBUTE_NOCLONE45 #define ATTRIBUTE_NOCLONE __attribute__((__noclone__))46 #endif47 48 39 #define libcfa_public __attribute__((visibility("default"))) 49 #define libcfa_nopreempt __attribute__((section("cfatext_nopreempt"))) __attribute__((__noinline__)) ATTRIBUTE_NOCLONE50 51 struct __cfa_nopreempt_region {52 void * start;53 void * stop;54 };55 40 56 41 #ifdef __cforall
Note:
See TracChangeset
for help on using the changeset viewer.