mwrap.git about / heads / tags LD_PRELOAD malloc wrapper + line stats for Ruby
blob 2312aa9c3ca6e33655bf6837f5ab0708efe17d8a 340 bytes (raw) $ git show HEAD:ext/mwrap/gcc.h # shows this blob on the CLI
1 2 3 4 5 6 7 8 9 10 11 12 13
/* CC0 (Public domain) - http://creativecommons.org/publicdomain/zero/1.0/ */ #ifndef GCC_H #define GCC_H #define ATTR_COLD __attribute__((cold)) #if __STDC_VERSION__ >= 201112 # define MWRAP_TSD _Thread_local #elif defined(__GNUC__) # define MWRAP_TSD __thread #else # error _Thread_local nor __thread supported #endif #endif /* GCC_H */
git clone https://80x24.org/mwrap.git