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