Diffstat (limited to 'mkspecs/irix-cc-64/qplatformdefs.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | mkspecs/irix-cc-64/qplatformdefs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mkspecs/irix-cc-64/qplatformdefs.h b/mkspecs/irix-cc-64/qplatformdefs.h index c6eaa2f..8666daf 100644 --- a/mkspecs/irix-cc-64/qplatformdefs.h +++ b/mkspecs/irix-cc-64/qplatformdefs.h | |||
@@ -70,17 +70,21 @@ | |||
70 | #define QT_OPEN_TRUNC O_TRUNC | 70 | #define QT_OPEN_TRUNC O_TRUNC |
71 | #define QT_OPEN_APPEND O_APPEND | 71 | #define QT_OPEN_APPEND O_APPEND |
72 | #endif | 72 | #endif |
73 | 73 | ||
74 | #define QT_SIGNAL_RETTYPEvoid | 74 | #define QT_SIGNAL_RETTYPEvoid |
75 | #define QT_SIGNAL_ARGS int | 75 | #define QT_SIGNAL_ARGS int |
76 | #define QT_SIGNAL_IGNORESIG_IGN | 76 | #define QT_SIGNAL_IGNORESIG_IGN |
77 | 77 | ||
78 | #if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE-0 >= 500) | ||
79 | #define QT_SOCKLEN_T size_t | ||
80 | #else | ||
78 | #define QT_SOCKLEN_T int | 81 | #define QT_SOCKLEN_T int |
82 | #endif | ||
79 | 83 | ||
80 | #if 0 | 84 | #if 0 |
81 | // on Irix 6.5 and better only - but how to check for it? | 85 | // on Irix 6.5 and better only - but how to check for it? |
82 | #if defined(_SGIAPI) | 86 | #if defined(_SGIAPI) |
83 | #define QT_SNPRINTF ::snprintf | 87 | #define QT_SNPRINTF ::snprintf |
84 | #define QT_VSNPRINTF ::vsnprintf | 88 | #define QT_VSNPRINTF ::vsnprintf |
85 | #endif | 89 | #endif |
86 | #endif | 90 | #endif |