Diffstat (limited to 'mkspecs/win32-icc/qplatformdefs.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | mkspecs/win32-icc/qplatformdefs.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mkspecs/win32-icc/qplatformdefs.h b/mkspecs/win32-icc/qplatformdefs.h index 1d72e8a..d828db8 100644 --- a/mkspecs/win32-icc/qplatformdefs.h +++ b/mkspecs/win32-icc/qplatformdefs.h | |||
@@ -23,13 +23,13 @@ | |||
23 | #include <errno.h> | 23 | #include <errno.h> |
24 | #include <sys/stat.h> | 24 | #include <sys/stat.h> |
25 | #include <stdlib.h> | 25 | #include <stdlib.h> |
26 | #include <windows.h> | 26 | #include <windows.h> |
27 | 27 | ||
28 | #define Q_FS_FAT | 28 | #define Q_FS_FAT |
29 | #ifdef QT_LARGE_FILE_SUPPORT | 29 | #ifdef QT_LARGEFILE_SUPPORT |
30 | #define QT_STATBUF struct _stati64 // non-ANSI defs | 30 | #define QT_STATBUF struct _stati64 // non-ANSI defs |
31 | #define QT_STATBUF4TSTAT struct _stati64 // non-ANSI defs | 31 | #define QT_STATBUF4TSTAT struct _stati64 // non-ANSI defs |
32 | #define QT_STAT ::_stati64 | 32 | #define QT_STAT ::_stati64 |
33 | #define QT_FSTAT ::_fstati64 | 33 | #define QT_FSTAT ::_fstati64 |
34 | #else | 34 | #else |
35 | #define QT_STATBUF struct _stat // non-ANSI defs | 35 | #define QT_STATBUF struct _stat // non-ANSI defs |
@@ -43,13 +43,13 @@ | |||
43 | #if defined(_S_IFLNK) | 43 | #if defined(_S_IFLNK) |
44 | # define QT_STAT_LNK _S_IFLNK | 44 | # define QT_STAT_LNK _S_IFLNK |
45 | #endif | 45 | #endif |
46 | #define QT_FILENO _fileno | 46 | #define QT_FILENO _fileno |
47 | #define QT_OPEN ::_open | 47 | #define QT_OPEN ::_open |
48 | #define QT_CLOSE ::_close | 48 | #define QT_CLOSE ::_close |
49 | #ifdef QT_LARGE_FILE_SUPPORT | 49 | #ifdef QT_LARGEFILE_SUPPORT |
50 | #define QT_LSEEK ::_lseeki64 | 50 | #define QT_LSEEK ::_lseeki64 |
51 | #define QT_TSTAT ::_tstati64 | 51 | #define QT_TSTAT ::_tstati64 |
52 | #else | 52 | #else |
53 | #define QT_LSEEK ::_lseek | 53 | #define QT_LSEEK ::_lseek |
54 | #define QT_TSTAT ::_tstat | 54 | #define QT_TSTAT ::_tstat |
55 | #endif | 55 | #endif |
@@ -78,8 +78,10 @@ | |||
78 | 78 | ||
79 | # define F_OK0 | 79 | # define F_OK0 |
80 | # define X_OK1 | 80 | # define X_OK1 |
81 | # define W_OK2 | 81 | # define W_OK2 |
82 | # define R_OK4 | 82 | # define R_OK4 |
83 | 83 | ||
84 | typedef int mode_t; | ||
85 | |||
84 | 86 | ||
85 | #endif // QPLATFORMDEFS_H | 87 | #endif // QPLATFORMDEFS_H |