Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _PERF_UI_SLANG_H_
3#define _PERF_UI_SLANG_H_ 1
4/*
5 * slang versions <= 2.0.6 have a "#if HAVE_LONG_LONG" that breaks
6 * the build if it isn't defined. Use the equivalent one that glibc
7 * has on features.h.
8 */
9#include <features.h>
10#ifndef HAVE_LONG_LONG
11#define HAVE_LONG_LONG __GLIBC_HAVE_LONG_LONG
12#endif
13
14/* Enable future slang's corrected function prototypes. */
15#define ENABLE_SLFUTURE_CONST 1
16#define ENABLE_SLFUTURE_VOID 1
17
18#include <slang.h>
19
20#define SL_KEY_UNTAB 0x1000
21
22#endif /* _PERF_UI_SLANG_H_ */