- Timestamp:
- Mar 13, 2010, 10:16:00 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/corelib/io/qtemporaryfile.cpp
r651 r679 174 174 if (*trv == '/') { 175 175 *trv = '\0'; 176 #if defined (Q_OS_WIN) && !defined(Q_OS_WINCE)176 #if (defined (Q_OS_WIN) && !defined(Q_OS_WINCE)) || defined (Q_OS_OS2) 177 177 if (trv - path == 2 && path[1] == ':') { 178 178 // Special case for Windows drives … … 217 217 QT_OPEN(targetPath.toLocal8Bit(), O_CREAT|O_EXCL|O_RDWR 218 218 # else // CE 219 // this is Unix or older MSVC 219 // this is Unix or older MSVC or OS/2 220 220 if ((*doopen = 221 221 QT_OPEN(path, QT_OPEN_CREAT|O_EXCL|QT_OPEN_RDWR … … 226 226 # if defined(Q_OS_WINCE) 227 227 |_O_BINARY 228 # elif defined(Q_OS_WIN) 228 # elif defined(Q_OS_WIN) || defined (Q_OS_OS2) 229 229 |O_BINARY 230 230 # endif
Note:
See TracChangeset
for help on using the changeset viewer.