From f1f1748f65dc6e1ac150e0760b4d71a6a6c6c750 Mon Sep 17 00:00:00 2001 From: Jorrit Wronski Date: Tue, 13 Dec 2022 11:03:10 +0100 Subject: [PATCH] Correct use of the __has_include preprocessor macro --- include/SQLiteCpp/Database.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/SQLiteCpp/Database.h b/include/SQLiteCpp/Database.h index e30ff94..3adde86 100644 --- a/include/SQLiteCpp/Database.h +++ b/include/SQLiteCpp/Database.h @@ -35,10 +35,10 @@ __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_13_0 // disable the support if the required header is not available #ifdef __has_include - #ifndef __has_include() + #if !__has_include() #undef SQLITECPP_HAVE_STD_FILESYSTEM #endif - #ifndef __has_include() + #if !__has_include() #undef SQLITECPP_HAVE_EXPERIMENTAL_FILESYSTEM #endif #endif