mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-11-01 06:46:35 +01:00
Added in commit cbefd24f0a ("tools build: Add test to check if
slang.h is in /usr/include/slang/") this feature was to fix build
support on now unsupported versions of RHEL 5 and 6. As 6 years has
passed let's remove the workaround.
Signed-off-by: Ian Rogers <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
23 lines
559 B
C
23 lines
559 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _PERF_UI_SLANG_H_
|
|
#define _PERF_UI_SLANG_H_ 1
|
|
/*
|
|
* slang versions <= 2.0.6 have a "#if HAVE_LONG_LONG" that breaks
|
|
* the build if it isn't defined. Use the equivalent one that glibc
|
|
* has on features.h.
|
|
*/
|
|
#include <features.h>
|
|
#ifndef HAVE_LONG_LONG
|
|
#define HAVE_LONG_LONG __GLIBC_HAVE_LONG_LONG
|
|
#endif
|
|
|
|
/* Enable future slang's corrected function prototypes. */
|
|
#define ENABLE_SLFUTURE_CONST 1
|
|
#define ENABLE_SLFUTURE_VOID 1
|
|
|
|
#include <slang.h>
|
|
|
|
#define SL_KEY_UNTAB 0x1000
|
|
|
|
#endif /* _PERF_UI_SLANG_H_ */
|