diff options
author | Nicolas Noble <nnoble@blizzard.com> | 2014-05-16 11:31:29 -0700 |
---|---|---|
committer | Nicolas Noble <nnoble@blizzard.com> | 2014-05-16 11:31:29 -0700 |
commit | 4f413ef7fecf41ce9c2913e364718c0d03bde678 (patch) | |
tree | c02b3c1ffbfc238bb5f8b1b01fea124388bdebf8 | |
parent | 55fe1387c415ac9f3c2725eb2118e9c456e34f48 (diff) |
Fixing compilation problem with well known all-caps symbols.
-rw-r--r-- | includes/Handle.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/Handle.h b/includes/Handle.h index 91ded2b..40e52e5 100644 --- a/includes/Handle.h +++ b/includes/Handle.h @@ -65,12 +65,12 @@ class Handle { virtual bool isPendingComplete() { return true; } enum Endianness { - LITTLE_ENDIAN, - BIG_ENDIAN, + BALAU_LITTLE_ENDIAN, + BALAU_BIG_ENDIAN, }; - void setEndianness(Endianness endianness) { m_bigEndianMode = endianness == BIG_ENDIAN; } - Endianness getEndianness() { return m_bigEndianMode ? BIG_ENDIAN : LITTLE_ENDIAN; } + void setEndianness(Endianness endianness) { m_bigEndianMode = endianness == BALAU_BIG_ENDIAN; } + Endianness getEndianness() { return m_bigEndianMode ? BALAU_BIG_ENDIAN : BALAU_LITTLE_ENDIAN; } // helpers off64_t tell() { return rtell(); } |