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

View file

@ -10,6 +10,10 @@
#ifndef build_h_ #ifndef build_h_
#define 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 "compat.h"
#include "pragmas.h" #include "pragmas.h"
#include "glbuild.h" #include "glbuild.h"