mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2026-02-03 09:17:40 +00:00
Better pre-C++11 compatibility, via Fedora
This commit is contained in:
parent
2095460115
commit
9cbae5bb4e
@ -137,7 +137,8 @@ typedef _W64 int ptrdiff_t;
|
||||
*/
|
||||
|
||||
#if defined(__APPLE__) || defined(__linux__)
|
||||
# if defined(__cplusplus)
|
||||
/* GCC12 errors out when including <cstdint> with __cplusplus < 201103L */
|
||||
# if defined(__cplusplus) && __cplusplus >= 201103L
|
||||
# include <cstddef>
|
||||
# include <cstdint>
|
||||
# else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user