more Windows gcc cleanup

Still not finished
This commit is contained in:
nhmall
2018-11-29 22:32:36 -05:00
parent 2a2107c3a4
commit 7495d0f2f4
3 changed files with 11 additions and 2 deletions
+9
View File
@@ -94,6 +94,15 @@ extern void FDECL(interject, (int));
*=============================================== *===============================================
*/ */
#ifdef __MINGW32__
#ifdef strncasecmp
#undef strncasecmp
#endif
#ifdef strcasecmp
#undef strcasecmp
#endif
#endif
#ifdef _MSC_VER #ifdef _MSC_VER
#if (_MSC_VER > 1000) #if (_MSC_VER > 1000)
/* Visual C 8 warning elimination */ /* Visual C 8 warning elimination */
+1 -1
View File
@@ -1889,7 +1889,7 @@ void nethack_enter_nttty()
error("Unable to load nhraykey.dll"); error("Unable to load nhraykey.dll");
} }
} }
#endif TTY_GRAPHICS #endif /* TTY_GRAPHICS */
/* this is used as a printf() replacement when the window /* this is used as a printf() replacement when the window
* system isn't initialized yet * system isn't initialized yet
+1 -1
View File
@@ -7,7 +7,7 @@
#ifdef GUISTUB #ifdef GUISTUB
#ifdef TTYSTUB #ifdef TTYSTUB
#error You can't compile this with both GUISTUB and TTYSTUB defined. #error You cannot compile this with both GUISTUB and TTYSTUB defined.
#endif #endif
int GUILaunched; int GUILaunched;