mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-23 18:14:06 +00:00
Remove unnecessary preprocessor defines from project settings.
- _WIN32 and _WIN64 are defined by windows headers. - _DEBUG is defined when debug libs are used. - _CONSOLE does nothing.
This commit is contained in:
parent
a3f2e84587
commit
e770f77564
|
@ -100,7 +100,6 @@
|
|||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>WIN32;WIN64;X64;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<CompileAs>CompileAsC</CompileAs>
|
||||
<AssemblerOutput>AssemblyAndSourceCode</AssemblerOutput>
|
||||
</ClCompile>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
//for hton
|
||||
#ifdef WIN32
|
||||
#ifdef _WIN32
|
||||
#include <Winsock2.h>
|
||||
#else
|
||||
#include <net/hton.h>
|
||||
|
|
Loading…
Reference in a new issue