Add an error directive to C++ standards versions < 2011.

git-svn-id: https://svn.eduke32.com/eduke32@6352 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2017-07-10 13:44:01 +00:00
parent bbff77b20e
commit 4252a60af9
1 changed files with 4 additions and 0 deletions

View File

@ -10,6 +10,10 @@
#ifndef build_h_
#define build_h_
#if !defined __cplusplus || (__cplusplus < 201103L && !defined _MSC_VER)
# error C++11 or greater is required.
#endif
#include "compat.h"
#include "pragmas.h"
#include "glbuild.h"