--- rxvt-unicode/src/rxvtcolor.h 2004/02/25 15:06:05 1.9 +++ rxvt-unicode/src/rxvtcolor.h 2004/03/29 21:02:11 1.10 @@ -14,6 +14,17 @@ #include "callback.h" +extern class byteorder { + uint32_t e; +public: + byteorder (); + + bool big_endian () { return e == 0x11223344; }; + bool network () { return e == 0x11223344; }; + bool little_endian () { return e == 0x44332211; }; + bool vax () { return e == 0x44332211; }; +} byteorder; + struct rxvt_term; struct im_watcher;