diff options
author | Steven Noonan <steven@uplinklabs.net> | 2009-10-10 04:36:42 -0700 |
---|---|---|
committer | Steven Noonan <steven@uplinklabs.net> | 2009-10-10 22:18:48 -0700 |
commit | 66c59ae9c97694a8ab33eddd266dd6f73d72fde7 (patch) | |
tree | bd27426778e720fa895635b26b6a0909300d21af /crawl-ref/source/libw32c.cc | |
parent | 6eb4f8d4954d7ba008de2eb921d42e02993b9db5 (diff) | |
download | crawl-ref-66c59ae9c97694a8ab33eddd266dd6f73d72fde7.tar.gz crawl-ref-66c59ae9c97694a8ab33eddd266dd6f73d72fde7.zip |
project-wide: implement use of platform.h detection macros
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/libw32c.cc')
-rw-r--r-- | crawl-ref/source/libw32c.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/libw32c.cc b/crawl-ref/source/libw32c.cc index 9dccba9c83..1c0c4d9b59 100644 --- a/crawl-ref/source/libw32c.cc +++ b/crawl-ref/source/libw32c.cc @@ -58,7 +58,7 @@ REVISION("$Rev$"); // END -- WINDOWS INCLUDES -#ifdef __MINGW32__ +#ifdef TARGET_COMPILER_MINGW #include <signal.h> #endif @@ -289,7 +289,7 @@ static void init_colors(char *windowTitle) // if not found, quit. } -#ifdef __MINGW32__ +#ifdef TARGET_COMPILER_MINGW static void install_sighandlers() { signal(SIGINT, SIG_IGN); @@ -369,7 +369,7 @@ void init_libw32c(void) // TODO: Respect changing cursor size manually while Crawl is running. have_initial_cci = GetConsoleCursorInfo( outbuf, &initial_cci ); -#ifdef __MINGW32__ +#ifdef TARGET_COMPILER_MINGW install_sighandlers(); #endif |