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:
Ari Koivula 2013-09-23 17:32:07 +03:00
parent a3f2e84587
commit e770f77564
2 changed files with 1 additions and 2 deletions

View file

@ -100,7 +100,6 @@
</PrecompiledHeader> </PrecompiledHeader>
<WarningLevel>Level3</WarningLevel> <WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization> <Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;WIN64;X64;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<CompileAs>CompileAsC</CompileAs> <CompileAs>CompileAsC</CompileAs>
<AssemblerOutput>AssemblyAndSourceCode</AssemblerOutput> <AssemblerOutput>AssemblyAndSourceCode</AssemblerOutput>
</ClCompile> </ClCompile>

View file

@ -17,7 +17,7 @@
#include <string.h> #include <string.h>
#include <stdarg.h> #include <stdarg.h>
//for hton //for hton
#ifdef WIN32 #ifdef _WIN32
#include <Winsock2.h> #include <Winsock2.h>
#else #else
#include <net/hton.h> #include <net/hton.h>