From 66c59ae9c97694a8ab33eddd266dd6f73d72fde7 Mon Sep 17 00:00:00 2001 From: Steven Noonan Date: Sat, 10 Oct 2009 04:36:42 -0700 Subject: project-wide: implement use of platform.h detection macros Signed-off-by: Steven Noonan --- crawl-ref/source/libw32c.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/libw32c.cc') 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 #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 -- cgit v1.2.3-54-g00ecf