summaryrefslogtreecommitdiff
path: root/Build/source/utils/asymptote/prc/oPRCFile.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/utils/asymptote/prc/oPRCFile.cc')
-rw-r--r--Build/source/utils/asymptote/prc/oPRCFile.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/utils/asymptote/prc/oPRCFile.cc b/Build/source/utils/asymptote/prc/oPRCFile.cc
index a9d6b2e2156..e65910d56dd 100644
--- a/Build/source/utils/asymptote/prc/oPRCFile.cc
+++ b/Build/source/utils/asymptote/prc/oPRCFile.cc
@@ -573,12 +573,12 @@ void makeAppUUID(uint32_t *UUID)
void writeUINT32_T(std::ostream &out, uint32_t data)
{
-#ifdef WORDS_BIG_ENDIAN
+#ifdef WORDS_BIGENDIAN
out.write(((char*)&data)+3,1);
out.write(((char*)&data)+2,1);
out.write(((char*)&data)+1,1);
out.write(((char*)&data)+0,1);
-#elif WORDS_LITTLE_ENDIAN
+#else
out.write(((char*)&data)+0,1);
out.write(((char*)&data)+1,1);
out.write(((char*)&data)+2,1);