diff --git a/src/gamemain.cpp b/src/gamemain.cpp index f54ba680c..7f118643f 100644 --- a/src/gamemain.cpp +++ b/src/gamemain.cpp @@ -11,6 +11,10 @@ int I_GameMain(HINSTANCE hInstance, HINSTANCE nothing, LPWSTR cmdline, int nCmdS #include #pragma comment(linker,"/ENTRY:mainStartup") +#ifdef __AVX2__ +#error "This file must be compiled with /arch:SSE2" +#endif + extern "C" { int WINAPI wWinMainCRTStartup();