author | ulf69 <ulf69> | 2004-10-24 18:08:22 (UTC) |
---|---|---|
committer | ulf69 <ulf69> | 2004-10-24 18:08:22 (UTC) |
commit | 7e28e9e5aa5b390653a640be508f0c40c73d9060 (patch) (unidiff) | |
tree | f3042d4c03996ee741cad9dd85a24ed63da532a9 | |
parent | a781c43bb0a3df699d76cdcbc42201c566a70925 (diff) | |
download | kdepimpi-7e28e9e5aa5b390653a640be508f0c40c73d9060.zip kdepimpi-7e28e9e5aa5b390653a640be508f0c40c73d9060.tar.gz kdepimpi-7e28e9e5aa5b390653a640be508f0c40c73d9060.tar.bz2 |
added compiler used endian information
-rw-r--r-- | pwmanager/pwmanager/main.cpp | 6 |
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 | |||
@@ -83,8 +83,14 @@ static void printDebugConfigureInfo() | |||
83 | cout << "Endianess: big-endian" << endl; | 83 | cout << "Endianess: big-endian" << endl; |
84 | #else | 84 | #else |
85 | cout << "Endianess: little-endian" << endl; | 85 | cout << "Endianess: little-endian" << endl; |
86 | #endif | 86 | #endif |
87 | #ifdef WORDS_BIGENDIAN | ||
88 | cout << "Endianess 2: big-endian" << endl; | ||
89 | #else | ||
90 | cout << "Endianess 2: little-endian" << endl; | ||
91 | #endif | ||
92 | |||
87 | cout << "sizeof(long): " << sizeof(long) << endl; | 93 | cout << "sizeof(long): " << sizeof(long) << endl; |
88 | cout << "================================" << endl; | 94 | cout << "================================" << endl; |
89 | } | 95 | } |
90 | #else // PWM_DEBUG | 96 | #else // PWM_DEBUG |