1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 00:37:15 +01:00

Use double floating point when it has no impact on the code.

This commit is contained in:
Sandu Liviu Catalin 2021-08-18 22:24:18 +03:00
parent a99e926088
commit 151077c799

View File

@ -48,7 +48,7 @@ else()
endif() endif()
# Make sure Squirrel knows this is 64 bit # Make sure Squirrel knows this is 64 bit
if(CMAKE_SIZEOF_VOID_P EQUAL 8) if(CMAKE_SIZEOF_VOID_P EQUAL 8)
target_compile_definitions(Squirrel PUBLIC _SQ64) target_compile_definitions(Squirrel PUBLIC _SQ64=1 SQUSEDOUBLE=1)
endif() endif()
# Set specific compiler options # Set specific compiler options
if (GCC OR MINGW) if (GCC OR MINGW)