summaryrefslogtreecommitdiffabout
authorulf69 <ulf69>2004-10-24 18:08:22 (UTC)
committer ulf69 <ulf69>2004-10-24 18:08:22 (UTC)
commit7e28e9e5aa5b390653a640be508f0c40c73d9060 (patch) (side-by-side diff)
treef3042d4c03996ee741cad9dd85a24ed63da532a9
parenta781c43bb0a3df699d76cdcbc42201c566a70925 (diff)
downloadkdepimpi-7e28e9e5aa5b390653a640be508f0c40c73d9060.zip
kdepimpi-7e28e9e5aa5b390653a640be508f0c40c73d9060.tar.gz
kdepimpi-7e28e9e5aa5b390653a640be508f0c40c73d9060.tar.bz2
added compiler used endian information
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--pwmanager/pwmanager/main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/pwmanager/pwmanager/main.cpp b/pwmanager/pwmanager/main.cpp
index 81e257f..1ca7ba8 100644
--- a/pwmanager/pwmanager/main.cpp
+++ b/pwmanager/pwmanager/main.cpp
@@ -81,12 +81,18 @@ static void printDebugConfigureInfo()
#endif
#ifdef BIG_ENDIAN_HOST
cout << "Endianess: big-endian" << endl;
#else
cout << "Endianess: little-endian" << endl;
#endif
+#ifdef WORDS_BIGENDIAN
+ cout << "Endianess 2: big-endian" << endl;
+#else
+ cout << "Endianess 2: little-endian" << endl;
+#endif
+
cout << "sizeof(long): " << sizeof(long) << endl;
cout << "================================" << endl;
}
#else // PWM_DEBUG
static inline void printDebugConfigureInfo() { /* nothing */ }
#endif // PWM_DEBUG