mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-27 01:10:51 +00:00
git-svn-id: https://svn.eduke32.com/eduke32@1626 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
45d93544a6
commit
b2baba827c
3 changed files with 6 additions and 7 deletions
|
@ -1,5 +1,5 @@
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
|
#define _WIN32_WINNT 0x0501
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include "rawinput.h"
|
#include "rawinput.h"
|
||||||
#include "winlayer.h"
|
#include "winlayer.h"
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
#define DIRECTINPUT_VERSION 0x0700
|
#define DIRECTINPUT_VERSION 0x0700
|
||||||
#define DIRECTDRAW_VERSION 0x0600
|
#define DIRECTDRAW_VERSION 0x0600
|
||||||
|
#define _WIN32_WINNT 0x0501
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <ddraw.h>
|
#include <ddraw.h>
|
||||||
|
|
|
@ -5662,12 +5662,11 @@ repeatcase:
|
||||||
if (otw == CON_BREAK)
|
if (otw == CON_BREAK)
|
||||||
{
|
{
|
||||||
C_ReportError(-1);
|
C_ReportError(-1);
|
||||||
initprintf("%s:%d: error: duplicate `break'.\n",g_szScriptFileName, g_lineNumber);
|
initprintf("%s:%d: warning: duplicate `break'.\n",g_szScriptFileName, g_lineNumber);
|
||||||
g_numCompilerErrors++;
|
g_numCompilerWarnings++;
|
||||||
|
g_scriptPtr--;
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
//Bsprintf(g_szBuf," * (L%d) case Break statement.\n",g_lineNumber);
|
|
||||||
//AddLog(g_szBuf);
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in a new issue