Diffstat (limited to 'mkspecs/aix-xlc/qplatformdefs.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | mkspecs/aix-xlc/qplatformdefs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/aix-xlc/qplatformdefs.h b/mkspecs/aix-xlc/qplatformdefs.h index 7685a7b..79afa5d 100644 --- a/mkspecs/aix-xlc/qplatformdefs.h +++ b/mkspecs/aix-xlc/qplatformdefs.h | |||
@@ -74,32 +74,32 @@ | |||
74 | #define QT_OPEN_TRUNC O_TRUNC | 74 | #define QT_OPEN_TRUNC O_TRUNC |
75 | #define QT_OPEN_APPEND O_APPEND | 75 | #define QT_OPEN_APPEND O_APPEND |
76 | #endif | 76 | #endif |
77 | 77 | ||
78 | #define QT_SIGNAL_RETTYPEvoid | 78 | #define QT_SIGNAL_RETTYPEvoid |
79 | #define QT_SIGNAL_ARGS int | 79 | #define QT_SIGNAL_ARGS int |
80 | #define QT_SIGNAL_IGNORESIG_IGN | 80 | #define QT_SIGNAL_IGNORESIG_IGN |
81 | 81 | ||
82 | #ifdef _AIX43 | 82 | #ifdef _AIX43 |
83 | // AIX 4.3 | 83 | // AIX 4.3 |
84 | // The AIX 4.3 online documentation says 'size_t' but a user asked IBM | 84 | // The AIX 4.3 online documentation says 'size_t' but a user asked IBM |
85 | // and they told him the documentation is wrong. And anyway 'socklen_t' | 85 | // and they told him the documentation is wrong. And anyway 'socklen_t' |
86 | // reportedly works for all AIX 4.3 users. | 86 | // reportedly works for all AIX 4.3 users. |
87 | #define QT_SOCKLEN_T socklen_t | 87 | #define QT_SOCKLEN_T socklen_t |
88 | #elif _AIX42 | 88 | #elif _AIX42 |
89 | // AIX 4.2 | 89 | // AIX 4.2 |
90 | #define QT_SOCKLEN_T size_t | 90 | #define QT_SOCKLEN_T size_t |
91 | #else | 91 | #else |
92 | // AIX 4.1 | 92 | // AIX 4.1 |
93 | #define QT_SOCKLEN_T size_t | 93 | #define QT_SOCKLEN_T size_t |
94 | // override | 94 | // override |
95 | #define QT_SOCKOPTLEN_T int | 95 | #define QT_SOCKOPTLEN_T int |
96 | #endif | 96 | #endif |
97 | 97 | ||
98 | #if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500) | 98 | #if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE-0 >= 500) |
99 | // AIX 4.3 and better only | 99 | // AIX 4.3 and better only |
100 | #define QT_SNPRINTF ::snprintf | 100 | #define QT_SNPRINTF ::snprintf |
101 | #define QT_VSNPRINTF ::vsnprintf | 101 | #define QT_VSNPRINTF ::vsnprintf |
102 | #endif | 102 | #endif |
103 | 103 | ||
104 | 104 | ||
105 | #endif // QPLATFORMDEFS_H | 105 | #endif // QPLATFORMDEFS_H |