aboutsummaryrefslogtreecommitdiff
path: root/src/daynightratio.h
diff options
context:
space:
mode:
authorPedro Gimeno <pgimeno@users.noreply.notabug.org>2018-12-18 11:47:29 +0100
committerLoïc Blot <loic.blot@unix-experience.fr>2018-12-18 12:27:23 +0100
commit8e4095f06832f4a786a77f4513f6fca9c1f6cc2b (patch)
tree0666b249ba28222238e074accc35b2e15c89b685 /src/daynightratio.h
parent7a4d4bc9e6064ca083cd412e678f7d0927819438 (diff)
downloadminetest-8e4095f06832f4a786a77f4513f6fca9c1f6cc2b.tar.gz
minetest-8e4095f06832f4a786a77f4513f6fca9c1f6cc2b.tar.bz2
minetest-8e4095f06832f4a786a77f4513f6fca9c1f6cc2b.zip
Fix the part of the float test that requires IEC559/IEEE754 compliance
GCC and CLang compilers fail to support full IEC559 compliance required for the test, when certain compiler flags are active. This patch implements a heuristic that checks for the most common flag in GCC and CLang, plues an extra check which GCC disables when it's not compliant, to hopefully catch most cases where it can't run.
Diffstat (limited to 'src/daynightratio.h')
0 files changed, 0 insertions, 0 deletions