Changeset 846 for trunk/mkspecs/hpux-acc


Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/mkspecs/hpux-acc/qmake.conf

    r2 r846  
    2626
    2727MAKEFILE_GENERATOR      = UNIX
     28
    2829TEMPLATE                = app
    2930CONFIG                  += qt warn_on release link_prl
     
    7778QMAKE_LFLAGS_THREAD     =
    7879QMAKE_LFLAGS_NOUNDEF    = -Wl,+noallowunsats
    79 QMAKE_RPATH             = -Wl,+b,
     80QMAKE_      = -Wl,+b,
    8081QMAKE_HPUX_SHLIB        = 1
    8182QMAKE_EXTENSION_SHLIB   = sl
  • trunk/mkspecs/hpux-acc/qplatformdefs.h

    r651 r846  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies).
    44** All rights reserved.
    55** Contact: Nokia Corporation ([email protected])
     
    8080#endif
    8181
    82 #ifdef QT_LARGEFILE_SUPPORT
    83 #define QT_STATBUF              struct stat64
    84 #define QT_STATBUF4TSTAT        struct stat64
    85 #define QT_STAT                 ::stat64
    86 #define QT_FSTAT                ::fstat64
    87 #define QT_LSTAT                ::lstat64
    88 #define QT_OPEN                 ::open64
    89 #define QT_TRUNCATE             ::truncate64
    90 #define QT_FTRUNCATE            ::ftruncate64
    91 #define QT_LSEEK                ::lseek64
    92 #else
    93 #define QT_STATBUF              struct stat
    94 #define QT_STATBUF4TSTAT        struct stat
    95 #define QT_STAT                 ::stat
    96 #define QT_FSTAT                ::fstat
    97 #define QT_LSTAT                ::lstat
    98 #define QT_OPEN                 ::open
    99 #define QT_TRUNCATE             ::truncate
    100 #define QT_FTRUNCATE            ::ftruncate
    101 #define QT_LSEEK                ::lseek
    102 #endif
     82#define QT_USE_XOPEN_LFS_EXTENSIONS
     83#define QT_NO_READDIR64
     84#include "../common/posix/qplatformdefs.h"
    10385
    104 #ifdef QT_LARGEFILE_SUPPORT
    105 #define QT_FOPEN                ::fopen64
    106 #define QT_FSEEK                ::fseeko64
    107 #define QT_FTELL                ::ftello64
    108 #define QT_FGETPOS              ::fgetpos64
    109 #define QT_FSETPOS              ::fsetpos64
    110 #define QT_MMAP                 ::mmap64
    111 #define QT_FPOS_T               fpos64_t
    112 #define QT_OFF_T                off64_t
    113 #else
    114 #define QT_FOPEN                ::fopen
    115 #define QT_FSEEK                ::fseek
    116 #define QT_FTELL                ::ftell
    117 #define QT_FGETPOS              ::fgetpos
    118 #define QT_FSETPOS              ::fsetpos
    119 #define QT_MMAP                 ::mmap
    120 #define QT_FPOS_T               fpos_t
    121 #define QT_OFF_T                long
    122 #endif
     86#undef QT_OPEN_LARGEFILE
     87#undef QT_SOCKLEN_T
    12388
    124 #define QT_STAT_REG             S_IFREG
    125 #define QT_STAT_DIR             S_IFDIR
    126 #define QT_STAT_MASK            S_IFMT
    127 #define QT_STAT_LNK             S_IFLNK
    128 #define QT_SOCKET_CONNECT       ::connect
    129 #define QT_SOCKET_BIND          ::bind
    130 #define QT_FILENO               fileno
    131 #define QT_CLOSE                ::close
    132 #define QT_READ                 ::read
    133 #define QT_WRITE                ::write
    134 #define QT_ACCESS               ::access
    135 #define QT_GETCWD               ::getcwd
    136 #define QT_CHDIR                ::chdir
    137 #define QT_MKDIR                ::mkdir
    138 #define QT_RMDIR                ::rmdir
    13989#define QT_OPEN_LARGEFILE       0
    140 #define QT_OPEN_RDONLY          O_RDONLY
    141 #define QT_OPEN_WRONLY          O_WRONLY
    142 #define QT_OPEN_RDWR            O_RDWR
    143 #define QT_OPEN_CREAT           O_CREAT
    144 #define QT_OPEN_TRUNC           O_TRUNC
    145 #define QT_OPEN_APPEND          O_APPEND
    146 
    147 #define QT_SIGNAL_RETTYPE       void
    148 #define QT_SIGNAL_ARGS          int
    149 #define QT_SIGNAL_IGNORE        SIG_IGN
    150 
    151 #define QT_SOCKLEN_T            int
     90#define QT_SOCKLEN_T            int
    15291
    15392// presence of _XOPEN_UNIX can be used to detect HP-UX 10 or higher
     
    15796#endif
    15897
    159 
    16098#endif // QPLATFORMDEFS_H
Note: See TracChangeset for help on using the changeset viewer.