File tree Expand file tree Collapse file tree 2 files changed +16
-15
lines changed
Expand file tree Collapse file tree 2 files changed +16
-15
lines changed Original file line number Diff line number Diff line change 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
3940using namespace std ;
4041
Original file line number Diff line number Diff line change 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 >
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 >
You can’t perform that action at this time.
0 commit comments