aboutsummaryrefslogtreecommitdiffstats
path: root/PySide
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2011-05-04 14:12:27 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:54:19 -0300
commit7e2fd5d14bd98c886db05767d7ce0b17cc45b300 (patch)
tree8287402013e399071c87f0f8911b505f152586d5 /PySide
parentba6726449fe30636389955f00ee74dda07b0b2ea (diff)
Fixed QSysInfo.Endian enum detection on MacOs.
Fixes bug #809. Reviewer: Marcelo Lira <marcelo.lira@openbossa.org> Hugo Parente Lima <hugo.pl@gmail.com>
Diffstat (limited to 'PySide')
-rw-r--r--PySide/global.h.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/PySide/global.h.in b/PySide/global.h.in
index c1ada8090..997ad854c 100644
--- a/PySide/global.h.in
+++ b/PySide/global.h.in
@@ -20,6 +20,7 @@
#undef QT_NO_STL
#undef QT_NO_STL_WCHAR
+#define Q_BYTE_ORDER // used to enable QSysInfo.Endian detection on MacOSX
#include <QtCore/qnamespace.h>