diff --git a/src/xpdev/genwrap.c b/src/xpdev/genwrap.c index 8fb8a712245dafee7553db3b9d2d5dbfdf3c1339..31b53f50cf4d75f2b32dbadb4e3c2704013212d6 100644 --- a/src/xpdev/genwrap.c +++ b/src/xpdev/genwrap.c @@ -1,8 +1,5 @@ /* General cross-platform development wrappers */ -/* $Id: genwrap.c,v 1.118 2020/08/10 04:11:44 rswindell Exp $ */ -// vi: tabstop=4 - /**************************************************************************** * @format.tab-size 4 (Plain Text/Source Code File Header) * * @format.use-tabs true (see http://www.synchro.net/ptsc_hdr.html) * @@ -35,7 +32,7 @@ ****************************************************************************/ #include <string.h> /* strlen() */ -#include <stdarg.h> /* vsnprintf() */ +#include <stdarg.h> /* vsnprintf() */ #include <stdlib.h> /* RAND_MAX */ #include <fcntl.h> /* O_NOCTTY */ #include <time.h> /* clock() */ @@ -622,6 +619,7 @@ char* os_version(char *str) OSVERSIONINFO winver; winver.dwOSVersionInfoSize=sizeof(winver); + #pragma warning(suppress : 4996) GetVersionEx(&winver); switch(winver.dwPlatformId) {