Use #ifdef/#ifndef instead of #if defined/#if \!defined

This commit is contained in:
Anonymous Maarten authored and Anonymous Maarten committed 2023-03-30 21:35:01 +00:00
1 parent 308bcbbe76
commit b6ae281e97
129 files changed
+450 -450

No files matched your search

+2 -2
View File
@@ -357,7 +357,7 @@ static int platform_testSetErrorEmptyInput(void *arg)
return TEST_COMPLETED;
}
#if defined(HAVE_WFORMAT_OVERFLOW)
#ifdef HAVE_WFORMAT_OVERFLOW
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wformat-overflow"
#endif
@@ -441,7 +441,7 @@ static int platform_testSetErrorInvalidInput(void *arg)
return TEST_COMPLETED;
}
#if defined(HAVE_WFORMAT_OVERFLOW)
#ifdef HAVE_WFORMAT_OVERFLOW
#pragma GCC diagnostic pop
#endif