Skip to content

Commit c40cf32

Browse files
committed
Fix windows include order
1 parent 4033f62 commit c40cf32

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

simplecpp.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
* Copyright (C) 2016-2023 simplecpp team
44
*/
55

6-
#include "simplecpp.h"
7-
8-
#ifdef SIMPLECPP_WINDOWS
6+
#if defined(_WIN32) || defined(__CYGWIN__) || defined(__MINGW32__)
97
# define _WIN32_WINNT 0x0602
108
# define NOMINMAX
119
# include <windows.h>
1210
# undef ERROR
1311
#endif
1412

13+
#include "simplecpp.h"
14+
1515
#include <algorithm>
1616
#include <cassert>
1717
#include <cctype>

0 commit comments

Comments
 (0)