Changes for Win32; update precompiled files

Also fix Orctown probabilities; fixed support for snprintf;
update Win32 makefile to allow level compiler use

Conflicts:
	win/win32/levstuff.mak
This commit is contained in:
Derek S. Ray
2015-02-22 18:53:30 -05:00
committed by Pasi Kallinen
parent b1835cc65d
commit 7f03ee4216
9 changed files with 8416 additions and 2986 deletions

View File

@@ -124,8 +124,15 @@ extern void FDECL(interject, (int));
#define strncmpi(a,b,c) strnicmp(a,b,c)
#endif
/* Visual Studio defines this in their own headers, which we don't use */
#ifndef snprintf
#define snprintf _snprintf
#pragma warning(disable:4996) /* deprecation warning suggesting snprintf_s */
#endif
#include <sys/types.h>
#include <stdlib.h>
#include <stdio.h>
#ifdef __BORLANDC__
#undef randomize
#undef random