From 98985c03b0369327e659793b514659e3619c0f39 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 5 Nov 2018 21:25:59 +0100 Subject: [PATCH] check.h: remove obsolete ENABLE_LARGEFILE check Meson always enables large file support on the compiler command line, thus config.h doesn't need to be included anymore. We'll remove the whole `check.h` header soon. Closes #409 --- src/check.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/check.h b/src/check.h index 54f6b18f9..2de484246 100644 --- a/src/check.h +++ b/src/check.h @@ -37,11 +37,4 @@ #error config.h missing #endif -#if defined(__linux__) && !defined(NDEBUG) && defined(ENABLE_LARGEFILE) && \ - defined(_FEATURES_H) && defined(__i386__) && \ - !defined(__USE_FILE_OFFSET64) -/* on i386, check if LFS is enabled */ -#error config.h was included too late -#endif - #endif