Add a safety check that the file is being compiled correctly
This commit is contained in:
parent
4a168993dc
commit
aa51b22f9c
1 changed files with 4 additions and 0 deletions
|
|
@ -11,6 +11,10 @@ int I_GameMain(HINSTANCE hInstance, HINSTANCE nothing, LPWSTR cmdline, int nCmdS
|
|||
#include <cstdint>
|
||||
#pragma comment(linker,"/ENTRY:mainStartup")
|
||||
|
||||
#ifdef __AVX2__
|
||||
#error "This file must be compiled with /arch:SSE2"
|
||||
#endif
|
||||
|
||||
extern "C"
|
||||
{
|
||||
int WINAPI wWinMainCRTStartup();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue