mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-02 14:01:26 +00:00
can't use C11 _Generic macros with C++
This commit is contained in:
parent
d24b969990
commit
3581ff989d
1 changed files with 1 additions and 2 deletions
|
@ -42,8 +42,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
#undef min
|
#undef min
|
||||||
#undef max
|
#undef max
|
||||||
|
|
||||||
#if (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L)) || \
|
#if (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L))
|
||||||
(defined(__cplusplus) && (__cplusplus >= 201103L))
|
|
||||||
#define GENERIC_TYPES(x, separator) \
|
#define GENERIC_TYPES(x, separator) \
|
||||||
x(int, i) separator \
|
x(int, i) separator \
|
||||||
x(unsigned int, u) separator \
|
x(unsigned int, u) separator \
|
||||||
|
|
Loading…
Reference in a new issue