Changeset - r6614:3c632cd3de0d
[Not reviewed]
master
0 1 0
glx - 17 years ago 2007-05-14 14:06:46
glx@openttd.org
(svn r9834) -Add: win9x check in win32 builds
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/win32.cpp
Show inline comments
 
@@ -890,6 +890,9 @@ int APIENTRY WinMain(HINSTANCE hInstance
 
#endif /* UNICODE */
 

	
 
#if defined(UNICODE)
 
	/* Check if a win9x user started the win32 version */
 
	if (HASBIT(GetVersion(), 31)) error("This version of OpenTTD doesn't run on windows 95/98/ME.\nPlease download the win9x binary and try again.");
 

	
 
	/* For UNICODE we need to convert the commandline to char* _AND_
 
	 * save it because argv[] points into this buffer and thus needs to
 
	 * be available between subsequent calls to FS2OTTD() */
0 comments (0 inline, 0 general)