summaryrefslogtreecommitdiff
path: root/mkspecs/irix-cc/qplatformdefs.h
Unidiff
Diffstat (limited to 'mkspecs/irix-cc/qplatformdefs.h') (more/less context) (ignore whitespace changes)
-rw-r--r--mkspecs/irix-cc/qplatformdefs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/mkspecs/irix-cc/qplatformdefs.h b/mkspecs/irix-cc/qplatformdefs.h
index c6eaa2f..8666daf 100644
--- a/mkspecs/irix-cc/qplatformdefs.h
+++ b/mkspecs/irix-cc/qplatformdefs.h
@@ -66,23 +66,27 @@
66 #define QT_OPEN_RDONLY O_RDONLY 66 #define QT_OPEN_RDONLY O_RDONLY
67 #define QT_OPEN_WRONLY O_WRONLY 67 #define QT_OPEN_WRONLY O_WRONLY
68 #define QT_OPEN_RDWR O_RDWR 68 #define QT_OPEN_RDWR O_RDWR
69 #define QT_OPEN_CREAT O_CREAT 69 #define QT_OPEN_CREAT O_CREAT
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
87 91
88#endif // QPLATFORMDEFS_H 92#endif // QPLATFORMDEFS_H