]> git.mxchange.org Git - simgear.git/commitdiff
Hide an obvious mistake by defining our own ulEndianLittleDouble function for now
authorehofman <ehofman>
Sun, 3 Aug 2003 08:25:26 +0000 (08:25 +0000)
committerehofman <ehofman>
Sun, 3 Aug 2003 08:25:26 +0000 (08:25 +0000)
simgear/scene/sky/clouds3d/SkyArchive.cpp

index b069b088ad0b8b3740d5748d937510eac31924e3..f6a1886d91e6b3d85edd62887e3da6aa9372ae0e 100644 (file)
 #include <plib/ul.h>
 #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 <assert.h>
 
 struct SkyArchiveEntry