mkspecs/unsupported/qnx-g++/qplatformdefs.h
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
    85 #define QT_FOPEN                ::fopen64
    85 #define QT_FOPEN                ::fopen64
    86 #define QT_FSEEK                ::fseeko64
    86 #define QT_FSEEK                ::fseeko64
    87 #define QT_FTELL                ::ftello64
    87 #define QT_FTELL                ::ftello64
    88 #define QT_FGETPOS              ::fgetpos64
    88 #define QT_FGETPOS              ::fgetpos64
    89 #define QT_FSETPOS              ::fsetpos64
    89 #define QT_FSETPOS              ::fsetpos64
       
    90 #define QT_MMAP                 ::mmap64
    90 #define QT_FPOS_T               fpos64_t
    91 #define QT_FPOS_T               fpos64_t
    91 #define QT_OFF_T                off64_t
    92 #define QT_OFF_T                off64_t
    92 #else
    93 #else
    93 #define QT_FOPEN                ::fopen
    94 #define QT_FOPEN                ::fopen
    94 #define QT_FSEEK                ::fseeko
    95 #define QT_FSEEK                ::fseeko
    95 #define QT_FTELL                ::ftello
    96 #define QT_FTELL                ::ftello
    96 #define QT_FGETPOS              ::fgetpos
    97 #define QT_FGETPOS              ::fgetpos
    97 #define QT_FSETPOS              ::fsetpos
    98 #define QT_FSETPOS              ::fsetpos
       
    99 #define QT_MMAP                 ::mmap
    98 #define QT_FPOS_T               fpos_t
   100 #define QT_FPOS_T               fpos_t
    99 #define QT_OFF_T                off_t
   101 #define QT_OFF_T                off_t
   100 #endif
   102 #endif
   101 
   103 
   102 #ifdef QT_LARGEFILE_SUPPORT
   104 #ifdef QT_LARGEFILE_SUPPORT
   165 inline float strtof(const char *b, char **e)
   167 inline float strtof(const char *b, char **e)
   166 {
   168 {
   167     return float(strtod(b, e));
   169     return float(strtod(b, e));
   168 }
   170 }
   169 
   171 
   170 #define QT_QWS_TEMP_DIR qgetenv("TMP");
   172 #define QT_QWS_TEMP_DIR QString::fromLatin1(qgetenv("TMP"))
   171 
   173 
   172 #endif // QPLATFORMDEFS_H
   174 #endif // QPLATFORMDEFS_H