mirror of
https://github.com/nicbarker/clay.git
synced 2025-04-15 10:48:04 +00:00
Support older c++ versions
This commit is contained in:
parent
c73dffbb6f
commit
f4b5b00ce5
4
clay.h
4
clay.h
@ -29,11 +29,11 @@
|
||||
#define CLAY_HEADER
|
||||
|
||||
#if !( \
|
||||
(defined(__cplusplus) && __cplusplus >= 202002L) || \
|
||||
(defined(__cplusplus) && __cplusplus >= 201103L) || \
|
||||
(defined(__STDC__) && __STDC__ == 1 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || \
|
||||
defined(_MSC_VER) \
|
||||
)
|
||||
#error "Clay requires C99, C++20, or MSVC"
|
||||
#error "Clay requires at least C99, C++11, or MSVC"
|
||||
#endif
|
||||
|
||||
#ifdef CLAY_WASM
|
||||
|
Loading…
Reference in New Issue
Block a user