Skip to content

Commit aba48d1

Browse files
authored
Merge pull request #272 from Coalition-of-Freeware-Developers/master
fixed broken `#if / #endif` preprocessor directives
2 parents dedaae8 + 8b462d4 commit aba48d1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/wincompat.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,16 @@
2525

2626
#include <limits.h>
2727

28-
2928
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) \
3029
|| defined(WIN64) || defined(_WIN64) || defined(__WIN64__)
3130

3231
#define LIBCONFIG_WINDOWS_OS
32+
#endif
3333

34-
if defined(__MINGW32__) || defined(__MINGW64__)
34+
#if defined(__MINGW32__) || defined(__MINGW64__)
3535
#define LIBCONFIG_MINGW_OS
3636
#endif
3737

38-
3938
#ifdef LIBCONFIG_WINDOWS_OS
4039

4140
/* Prevent warnings about redefined malloc/free in generated code. */

0 commit comments

Comments
 (0)