From 5eca7f3cd6c6113f010737016da90454dd1a7602 Mon Sep 17 00:00:00 2001 From: Julian Büning Date: Mon, 29 May 2023 18:16:52 +0200 Subject: CMake: use check_c_source_compiles() for FSTATAT_PATH_ACCEPTS_NULL is a bit more convenient and avoids an extra file --- cmake/fstatat.c | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 cmake/fstatat.c (limited to 'cmake') diff --git a/cmake/fstatat.c b/cmake/fstatat.c deleted file mode 100644 index 58aa9301..00000000 --- a/cmake/fstatat.c +++ /dev/null @@ -1,9 +0,0 @@ -#include -#include -#include - -int main(void) { - struct stat buf; - #pragma GCC diagnostic error "-Wnonnull" - fstatat(0, NULL, &buf, 0); -} -- cgit 1.4.1