Skip to content

Commit 684226f

Browse files
committed
reorder includes
1 parent 7727931 commit 684226f

File tree

2 files changed

+16
-15
lines changed

2 files changed

+16
-15
lines changed

mrf_apps/brn.cpp

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,8 @@
1-
#include <brunsli/encode.h>
2-
#include <brunsli/decode.h>
3-
#include <string>
4-
#include <iostream>
5-
#include <vector>
6-
#include <algorithm>
7-
#include <cassert>
8-
#include <cstdio>
9-
#include <sys/stat.h>
10-
#include <cstdlib>
11-
#include <fcntl.h>
12-
#include <sys/types.h>
13-
141
#if defined(_WIN32)
152
#if !defined(_WIN64)
163
#error "Need 64bit support"
174
#endif
5+
#define _CRT_SECURE_NO_WARNINGS
186
#include <Windows.h>
197
#include <io.h>
208

@@ -35,6 +23,19 @@ static_assert(sizeof(off_t) == 8);
3523
#define FSEEK fseeko
3624
#define FTELL ftello
3725
#endif
26+
#include <brunsli/encode.h>
27+
#include <brunsli/decode.h>
28+
#include <string>
29+
#include <iostream>
30+
#include <vector>
31+
#include <algorithm>
32+
#include <cassert>
33+
#include <cstdio>
34+
#include <sys/stat.h>
35+
#include <cstdlib>
36+
#include <fcntl.h>
37+
#include <sys/types.h>
38+
3839

3940
using namespace std;
4041

mrf_apps/vc/brn/brn.vcxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
<ClCompile>
112112
<WarningLevel>Level3</WarningLevel>
113113
<SDLCheck>true</SDLCheck>
114-
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
114+
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
115115
<ConformanceMode>true</ConformanceMode>
116116
<LanguageStandard>stdcpp20</LanguageStandard>
117117
</ClCompile>
@@ -127,7 +127,7 @@
127127
<FunctionLevelLinking>true</FunctionLevelLinking>
128128
<IntrinsicFunctions>true</IntrinsicFunctions>
129129
<SDLCheck>true</SDLCheck>
130-
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
130+
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
131131
<ConformanceMode>true</ConformanceMode>
132132
<LanguageStandard>stdcpp20</LanguageStandard>
133133
</ClCompile>

0 commit comments

Comments
 (0)