From c9a4a6975c3757084f2f0a7fba123adef1039c27 Mon Sep 17 00:00:00 2001 From: ehofman Date: Sun, 3 Aug 2003 08:25:26 +0000 Subject: [PATCH] Hide an obvious mistake by defining our own ulEndianLittleDouble function for now --- simgear/scene/sky/clouds3d/SkyArchive.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- 2.39.5