1 --- glm-1.0.1/test/core/core_setup_message.cpp.orig 2024-02-27 18:19:47.000000000 +0100
2 +++ glm-1.0.1/test/core/core_setup_message.cpp 2024-04-29 17:54:10.823524118 +0200
3 @@ -223,8 +223,14 @@ static int test_compiler()
4 static int test_model()
8 - Error += ((sizeof(void*) == 4) && (GLM_MODEL == GLM_MODEL_32)) || ((sizeof(void*) == 8) && (GLM_MODEL == GLM_MODEL_64)) ? 0 : 1;
11 +#if defined(__x86_64__) && defined(__ILP32__)
14 + (sizeof(void*) == 8);
16 + Error += ((sizeof(void*) == 4) && (GLM_MODEL == GLM_MODEL_32)) || (supported64 && (GLM_MODEL == GLM_MODEL_64)) ? 0 : 1;
18 # if GLM_MODEL == GLM_MODEL_32
19 std::printf("GLM_MODEL_32\n");
20 --- glm-1.0.1/glm/gtx/string_cast.inl.orig 2024-02-27 18:19:47.000000000 +0100
21 +++ glm-1.0.1/glm/gtx/string_cast.inl 2024-04-29 17:54:31.413345096 +0200
22 @@ -58,7 +58,6 @@ namespace detail
23 GLM_FUNC_QUALIFIER static char const * value() {return "%f";}
26 -# if GLM_MODEL == GLM_MODEL_32 && GLM_COMPILER && GLM_COMPILER_VC
28 struct literal<uint64_t, false>
30 @@ -70,7 +69,6 @@ namespace detail
32 GLM_FUNC_QUALIFIER static char const * value() {return "%lld";}
34 -# endif//GLM_MODEL == GLM_MODEL_32 && GLM_COMPILER && GLM_COMPILER_VC