1 #define HAVE_STDBOOL_H 2 3 #ifdef HAVE_STDBOOL_H 4 #include <stdbool.h> 5 #elif !defined(__cplusplus) 6 typedef char bool; 7 #endif 8 9 #define HAVE___BUILTIN_EXPECT 10 11 #define HAVE___ATTRIBUTE__ 12 13 #ifdef HAVE___ATTRIBUTE__ 14 #define CMARK_ATTRIBUTE(list) __attribute__ (list) 15 #else 16 #define CMARK_ATTRIBUTE(list) 17 #endif 18 19 #if 1 20 #ifndef U3_ALL 21 #define U3_ALL 22 #define malloc(a) u3a_malloc(a) 23 #define calloc(a,b) u3a_calloc(a,b) 24 #define realloc(a,b) u3a_realloc(a,b) 25 #define free(a) u3a_free(a) 26 /* From i/n/a.h 27 */ 28 /* u3a_malloc(): aligned storage measured in bytes. 29 */ 30 extern void* 31 u3a_malloc(size_t len_i); 32 33 /* u3a_calloc(): aligned storage measured in bytes. 34 */ 35 extern void* 36 u3a_calloc(size_t num_i, size_t len_i); 37 38 /* u3a_realloc(): aligned realloc in bytes. 39 */ 40 extern void* 41 u3a_realloc(void* lag_v, size_t len_i); 42 43 /* u3a_free(): free for aligned malloc. 44 */ 45 extern void 46 u3a_free(void* tox_v); 47 #endif 48 #endif 49