more Windows gcc cleanup
Still not finished
This commit is contained in:
@@ -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
@@ -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
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user