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

This commit is contained in:
Anonymous Maarten
2023-03-30 20:26:31 +02:00
committed by Anonymous Maarten
parent 308bcbbe76
commit b6ae281e97
129 changed files with 450 additions and 450 deletions

View File

@@ -154,7 +154,7 @@ static void free_library_handles(void)
cfgmgr32_lib_handle = NULL;
}
#if defined(__GNUC__)
#ifdef __GNUC__
# pragma GCC diagnostic push
# pragma GCC diagnostic ignored "-Wcast-function-type"
#endif
@@ -202,7 +202,7 @@ err:
free_library_handles();
return -1;
}
#if defined(__GNUC__)
#ifdef __GNUC__
# pragma GCC diagnostic pop
#endif