vs: Move defines out of Common.h to the build system

This commit is contained in:
Florent Castelli 2017-01-24 03:51:07 +01:00
parent a7bf9271b5
commit 0baf1c78c0
2 changed files with 2 additions and 7 deletions

View File

@ -39,13 +39,6 @@ extern const std::string scm_distributor_str;
// Since they are always around on Windows
#define HAVE_WX 1
#ifndef HAVE_OPENAL
#define HAVE_OPENAL 1
#endif
#ifndef HAVE_PORTAUDIO
#define HAVE_PORTAUDIO 1
#endif
// Debug definitions
#if defined(_DEBUG)

View File

@ -55,6 +55,8 @@
<PreprocessorDefinitions>PSAPI_VERSION=1;_M_X86=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>SFML_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>CURL_STATICLIB;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>HAVE_OPENAL=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>HAVE_PORTAUDIO=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions Condition="'$(Platform)'=='x64'">_ARCH_64=1;_M_X86_64=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<!--
Make sure we include a clean version of windows.h.