diff options
author | Steven Noonan <steven@uplinklabs.net> | 2009-10-19 13:46:01 -0700 |
---|---|---|
committer | Steven Noonan <steven@uplinklabs.net> | 2009-10-19 14:32:50 -0700 |
commit | 2bbc6dd25a227a747ef6bc7f83637b57c10d9af7 (patch) | |
tree | 696a88089bf48709bece93c8b96ac7550bf090d8 /crawl-ref/source/MSVC | |
parent | cf2b911c89d554a8f5f72156cef48b5f0fefd797 (diff) | |
download | crawl-ref-2bbc6dd25a227a747ef6bc7f83637b57c10d9af7.tar.gz crawl-ref-2bbc6dd25a227a747ef6bc7f83637b57c10d9af7.zip |
win32: eliminate need for WIN32TILES/WIN32CONSOLE macros
Instead of
defined(WIN32CONSOLE)
we should use:
defined(TARGET_OS_WINDOWS) && !defined(USE_TILE)
As well as replace
defined(WIN32TILES)
with:
defined(TARGET_OS_WINDOWS) && defined(USE_TILE)
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/MSVC')
-rw-r--r-- | crawl-ref/source/MSVC/Console.vsprops | 2 | ||||
-rw-r--r-- | crawl-ref/source/MSVC/Tiles.vsprops | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/MSVC/Console.vsprops b/crawl-ref/source/MSVC/Console.vsprops index 9937955be8..213cfb9f73 100644 --- a/crawl-ref/source/MSVC/Console.vsprops +++ b/crawl-ref/source/MSVC/Console.vsprops @@ -6,6 +6,6 @@ > <Tool Name="VCCLCompilerTool" - PreprocessorDefinitions="WIN32CONSOLE" + PreprocessorDefinitions="" /> </VisualStudioPropertySheet> diff --git a/crawl-ref/source/MSVC/Tiles.vsprops b/crawl-ref/source/MSVC/Tiles.vsprops index 58f6db88e2..6ace6166ef 100644 --- a/crawl-ref/source/MSVC/Tiles.vsprops +++ b/crawl-ref/source/MSVC/Tiles.vsprops @@ -7,7 +7,7 @@ <Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories=""$(SolutionDir)\..\contrib\sdl\include";"$(SolutionDir)\..\contrib\sdl-image";"$(SolutionDir)\..\contrib\libpng";"$(SolutionDir)\..\contrib\freetype\include";"$(SolutionDir)\..\contrib\zlib"" - PreprocessorDefinitions="WIN32TILES;USE_TILE"
+ PreprocessorDefinitions="USE_TILE" />
<Tool
Name="VCLinkerTool"
|