From b2baba827cfa713cc7d75efa8612f61fe36bd8c1 Mon Sep 17 00:00:00 2001 From: terminx Date: Mon, 3 May 2010 01:03:06 +0000 Subject: [PATCH] git-svn-id: https://svn.eduke32.com/eduke32@1626 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/build/src/rawinput.c | 2 +- polymer/eduke32/build/src/winlayer.c | 2 +- polymer/eduke32/source/gamedef.c | 9 ++++----- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/polymer/eduke32/build/src/rawinput.c b/polymer/eduke32/build/src/rawinput.c index abdb6123a..5c3c62a36 100644 --- a/polymer/eduke32/build/src/rawinput.c +++ b/polymer/eduke32/build/src/rawinput.c @@ -1,5 +1,5 @@ #define WIN32_LEAN_AND_MEAN - +#define _WIN32_WINNT 0x0501 #include #include "rawinput.h" #include "winlayer.h" diff --git a/polymer/eduke32/build/src/winlayer.c b/polymer/eduke32/build/src/winlayer.c index 24d4dd508..184a7b4be 100644 --- a/polymer/eduke32/build/src/winlayer.c +++ b/polymer/eduke32/build/src/winlayer.c @@ -12,7 +12,7 @@ #define DIRECTINPUT_VERSION 0x0700 #define DIRECTDRAW_VERSION 0x0600 - +#define _WIN32_WINNT 0x0501 #define WIN32_LEAN_AND_MEAN #include #include diff --git a/polymer/eduke32/source/gamedef.c b/polymer/eduke32/source/gamedef.c index 102f42dcd..163b7dda9 100644 --- a/polymer/eduke32/source/gamedef.c +++ b/polymer/eduke32/source/gamedef.c @@ -5662,12 +5662,11 @@ repeatcase: if (otw == CON_BREAK) { C_ReportError(-1); - initprintf("%s:%d: error: duplicate `break'.\n",g_szScriptFileName, g_lineNumber); - g_numCompilerErrors++; + initprintf("%s:%d: warning: duplicate `break'.\n",g_szScriptFileName, g_lineNumber); + g_numCompilerWarnings++; + g_scriptPtr--; + return 0; } - - //Bsprintf(g_szBuf," * (L%d) case Break statement.\n",g_lineNumber); - //AddLog(g_szBuf); return 1; } return 0;