mirror of https://github.com/OpenTTD/OpenTTD
(svn r9834) -Add: win9x check in win32 builds
parent
42f920964b
commit
62fe9c2e42
|
@ -890,6 +890,9 @@ int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLi
|
||||||
#endif /* UNICODE */
|
#endif /* UNICODE */
|
||||||
|
|
||||||
#if defined(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_
|
/* For UNICODE we need to convert the commandline to char* _AND_
|
||||||
* save it because argv[] points into this buffer and thus needs to
|
* save it because argv[] points into this buffer and thus needs to
|
||||||
* be available between subsequent calls to FS2OTTD() */
|
* be available between subsequent calls to FS2OTTD() */
|
||||||
|
|
Loading…
Reference in New Issue