mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-30 13:52:50 +01:00
Since we get all the tests in a single .c file for a first test, tools/build/feature/test-all.c, if individual tests set that define and fail to undef it at its end, then it the test-all.c build will fail due to defining _GNU_SOURCE multiple times, getting us to the slow path, so undef it at the end in tests that define it. Cc: Adrian Hunter <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Link: https://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
11 lines
125 B
C
11 lines
125 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
#include <Python.h>
|
|
|
|
int main(void)
|
|
{
|
|
Py_Initialize();
|
|
|
|
return 0;
|
|
}
|
|
#undef _GNU_SOURCE
|