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/view.h | |
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/view.h')
-rw-r--r-- | crawl-ref/source/view.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/view.h b/crawl-ref/source/view.h index b9a850e13c..bafb2f7117 100644 --- a/crawl-ref/source/view.h +++ b/crawl-ref/source/view.h @@ -196,7 +196,7 @@ dungeon_char_type dchar_by_name(const std::string &name); void handle_terminal_resize(bool redraw = true); -#if defined(WIN32CONSOLE) || defined(TARGET_OS_DOS) || defined(USE_TILE) +#if defined(TARGET_OS_WINDOWS) || defined(TARGET_OS_DOS) || defined(USE_TILE) unsigned short dos_brand( unsigned short colour, unsigned brand = CHATTR_REVERSE); #endif |