Fixed C++98 only build
This commit is contained in:
parent
5331b67ad0
commit
c556770a32
@ -33,7 +33,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "setup.hpp"
|
#include "setup.hpp"
|
||||||
|
#if GLM_HAS_MAKE_SIGNED
|
||||||
# include <type_traits>
|
# include <type_traits>
|
||||||
|
#endif
|
||||||
|
|
||||||
#if GLM_HAS_EXTENDED_INTEGER_TYPE
|
#if GLM_HAS_EXTENDED_INTEGER_TYPE
|
||||||
# include <cstdint>
|
# include <cstdint>
|
||||||
|
@ -81,6 +81,7 @@ Fixes:
|
|||||||
- Fixed unsupported _BitScanForward64 and _BitScanReverse64 in VC10
|
- Fixed unsupported _BitScanForward64 and _BitScanReverse64 in VC10
|
||||||
- Fixed Visual C++ 32 bit build #283
|
- Fixed Visual C++ 32 bit build #283
|
||||||
- Fixed GLM_FORCE_SIZE_FUNC pragma message
|
- Fixed GLM_FORCE_SIZE_FUNC pragma message
|
||||||
|
- Fixed C++98 only build
|
||||||
|
|
||||||
================================================================================
|
================================================================================
|
||||||
GLM 0.9.6.0: 2014-11-30
|
GLM 0.9.6.0: 2014-11-30
|
||||||
|
@ -33,7 +33,9 @@
|
|||||||
#include <glm/vector_relational.hpp>
|
#include <glm/vector_relational.hpp>
|
||||||
#include <glm/vec2.hpp>
|
#include <glm/vec2.hpp>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
#if GLM_HAS_TRIVIAL_QUERIES
|
||||||
# include <type_traits>
|
# include <type_traits>
|
||||||
|
#endif
|
||||||
|
|
||||||
int test_vec2_operators()
|
int test_vec2_operators()
|
||||||
{
|
{
|
||||||
|
@ -34,7 +34,9 @@
|
|||||||
#include <glm/gtc/epsilon.hpp>
|
#include <glm/gtc/epsilon.hpp>
|
||||||
#include <glm/gtx/euler_angles.hpp>
|
#include <glm/gtx/euler_angles.hpp>
|
||||||
#include <glm/vector_relational.hpp>
|
#include <glm/vector_relational.hpp>
|
||||||
|
#if GLM_HAS_TRIVIAL_QUERIES
|
||||||
# include <type_traits>
|
# include <type_traits>
|
||||||
|
#endif
|
||||||
|
|
||||||
int myrand()
|
int myrand()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user