1 #ifndef _PERF_UI_SLANG_H_
2 #define _PERF_UI_SLANG_H_ 1
4 * slang versions <= 2.0.6 have a "#if HAVE_LONG_LONG" that breaks
5 * the build if it isn't defined. Use the equivalent one that glibc
10 #define HAVE_LONG_LONG __GLIBC_HAVE_LONG_LONG
14 #if SLANG_VERSION < 20104
15 #define slsmg_printf(msg, args...) \
16 SLsmg_printf((char *)msg, ##args)
17 #define slsmg_write_nstring(msg, len) \
18 SLsmg_write_nstring((char *)msg, len)
19 #define sltt_set_color(obj, name, fg, bg) \
20 SLtt_set_color(obj,(char *)name, (char *)fg, (char *)bg)
22 #define slsmg_printf SLsmg_printf
23 #define slsmg_write_nstring SLsmg_write_nstring
24 #define sltt_set_color SLtt_set_color
27 #endif /* _PERF_UI_SLANG_H_ */