mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2025-02-21 07:59:22 +00:00
Merge https://github.com/nigels-com/glew.git into master HEAD at Wed Mar 20 02:44:18 GMT 2019
This commit is contained in:
commit
9cc72c5dc2
@ -140,6 +140,16 @@ typedef _W64 int ptrdiff_t;
|
||||
* (mem, 2004-01-04)
|
||||
*/
|
||||
|
||||
#if defined(__APPLE__) || defined(__linux__)
|
||||
# if defined(__cplusplus)
|
||||
# include <cstddef>
|
||||
# include <cstdint>
|
||||
# else
|
||||
# include <stddef.h>
|
||||
# include <stdint.h>
|
||||
# endif
|
||||
#else
|
||||
|
||||
# include <stddef.h>
|
||||
|
||||
/* SGI MIPSPro doesn't like stdint.h in C++ mode */
|
||||
@ -150,6 +160,7 @@ typedef _W64 int ptrdiff_t;
|
||||
# else
|
||||
# include <stdint.h>
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#define GLEW_APIENTRY_DEFINED
|
||||
#define APIENTRY
|
||||
|
Loading…
Reference in New Issue
Block a user