From: ehofman Date: Sun, 3 Aug 2003 08:25:26 +0000 (+0000) Subject: Hide an obvious mistake by defining our own ulEndianLittleDouble function for now X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c9a4a6975c3757084f2f0a7fba123adef1039c27;p=simgear.git Hide an obvious mistake by defining our own ulEndianLittleDouble function for now --- diff --git a/simgear/scene/sky/clouds3d/SkyArchive.cpp b/simgear/scene/sky/clouds3d/SkyArchive.cpp index b069b088..f6a1886d 100644 --- a/simgear/scene/sky/clouds3d/SkyArchive.cpp +++ b/simgear/scene/sky/clouds3d/SkyArchive.cpp @@ -24,6 +24,16 @@ #include #include "SkyArchive.hpp" +// FIXME: Remove this section whenever plib has it's own endian conversion +// funcrtions for 64-bit data types. +#ifndef ulEndianLittleDouble +// This hack doesn't actually do anything, but it's pressence +// marks the places that need endiannes attention. +inline double ulEndianLittleDouble(double x) { + return x; +} +#endif + #include struct SkyArchiveEntry