From d868e522751f9a1d2fbd042b80e61ccfc97e3b9a Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Mon, 19 Sep 2011 17:49:47 +0100 Subject: [PATCH] Improved int64 type for C99 support --- glm/core/_detail.hpp | 3 +++ test/core/core_func_integer.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/glm/core/_detail.hpp b/glm/core/_detail.hpp index 9ec2a941..e6d2e128 100644 --- a/glm/core/_detail.hpp +++ b/glm/core/_detail.hpp @@ -31,6 +31,9 @@ #include "setup.hpp" #include +#if(defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)) +#include +#endif namespace glm{ namespace detail diff --git a/test/core/core_func_integer.cpp b/test/core/core_func_integer.cpp index 988119df..af2a9a2c 100644 --- a/test/core/core_func_integer.cpp +++ b/test/core/core_func_integer.cpp @@ -31,7 +31,7 @@ namespace extractField result Result; }; - typedef type typeU64; + typedef type typeU64; typeU64 const Data64[] = {