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) (ignore 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
@@ -75,24 +75,30 @@ static void printDebugConfigureInfo()
cout << "CONFIG_KEYCARD: disabled" << endl;
#endif
#ifdef CONFIG_KWALLETIF
cout << "CONFIG_KWALLETIF: enabled" << endl;
#else
cout << "CONFIG_KWALLETIF: disabled" << endl;
#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
#ifndef PWM_EMBEDDED
static void addAuthors(KAboutData *aboutData)
{
aboutData->addAuthor("Michael Buesch",
I18N_NOOP(