src/win32.cpp
branchNewGRF_ports
changeset 10994 cd9968b6f96b
parent 10991 d8811e327d12
equal deleted inserted replaced
10991:d8811e327d12 10994:cd9968b6f96b
   472 	if (had_exception) ExitProcess(0);
   472 	if (had_exception) ExitProcess(0);
   473 	had_exception = true;
   473 	had_exception = true;
   474 
   474 
   475 	_ident = GetTickCount(); // something pretty unique
   475 	_ident = GetTickCount(); // something pretty unique
   476 
   476 
   477 	MakeCRCTable((uint32*)alloca(256 * sizeof(uint32)));
   477 	MakeCRCTable(AllocaM(uint32, 256));
   478 	_crash_msg = output = (char*)LocalAlloc(LMEM_FIXED, 8192);
   478 	_crash_msg = output = (char*)LocalAlloc(LMEM_FIXED, 8192);
   479 
   479 
   480 	{
   480 	{
   481 		SYSTEMTIME time;
   481 		SYSTEMTIME time;
   482 		GetLocalTime(&time);
   482 		GetLocalTime(&time);