Fixing GLM_MODEL for Windows compilers targeting ARM
This commit is contained in:
parent
c35bc3d576
commit
9b0a0535ce
@ -35,12 +35,12 @@
|
|||||||
///////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////
|
||||||
// Build model
|
// Build model
|
||||||
|
|
||||||
#if defined(__LP64__)
|
#if defined(_M_ARM64) || defined(__LP64__) || defined(_M_X64) || defined(__ppc64__) || defined(__x86_64__)
|
||||||
# define GLM_MODEL GLM_MODEL_64
|
# define GLM_MODEL GLM_MODEL_64
|
||||||
#elif defined(__ILP32__)
|
#elif defined(__i386__) || defined(__ppc__) || defined(__ILP32__) || defined(_M_ARM)
|
||||||
# define GLM_MODEL GLM_MODEL_32
|
# define GLM_MODEL GLM_MODEL_32
|
||||||
#else
|
#else
|
||||||
# error "Architecture must be either 32 or 64-bits"
|
# define GLM_MODEL GLM_MODEL_32
|
||||||
#endif//
|
#endif//
|
||||||
|
|
||||||
#if !defined(GLM_MODEL) && GLM_COMPILER != 0
|
#if !defined(GLM_MODEL) && GLM_COMPILER != 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user