mirror of
https://github.com/nigels-com/glew.git
synced 2026-01-07 14:53:17 +00:00
Better pre-C++11 compatibility, via Fedora
This commit is contained in:
parent
1dff0d09eb
commit
2a802688b7
@ -137,7 +137,8 @@ typedef _W64 int ptrdiff_t;
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#if defined(__APPLE__) || defined(__linux__)
|
#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 <cstddef>
|
||||||
# include <cstdint>
|
# include <cstdint>
|
||||||
# else
|
# else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user