diff options
| author | Igor Pavlov <87184205+ip7z@users.noreply.github.com> | 2026-02-12 00:00:00 +0000 |
|---|---|---|
| committer | Igor Pavlov <87184205+ip7z@users.noreply.github.com> | 2026-02-12 17:38:49 +0500 |
| commit | 839151eaaad24771892afaae6bac690e31e58384 (patch) | |
| tree | e292449d621f7a1d503b975984a2aca240dd2d8f /CPP/Windows/FileFind.h | |
| parent | 5e96a8279489832924056b1fa82f29d5837c9469 (diff) | |
| download | 7zip-839151eaaad24771892afaae6bac690e31e58384.tar.gz 7zip-839151eaaad24771892afaae6bac690e31e58384.tar.bz2 7zip-839151eaaad24771892afaae6bac690e31e58384.zip | |
Diffstat (limited to 'CPP/Windows/FileFind.h')
| -rw-r--r-- | CPP/Windows/FileFind.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CPP/Windows/FileFind.h b/CPP/Windows/FileFind.h index f68673a..944bca2 100644 --- a/CPP/Windows/FileFind.h +++ b/CPP/Windows/FileFind.h | |||
| @@ -277,13 +277,13 @@ typedef CFileInfo CDirEntry; | |||
| 277 | struct CDirEntry | 277 | struct CDirEntry |
| 278 | { | 278 | { |
| 279 | ino_t iNode; | 279 | ino_t iNode; |
| 280 | #if !defined(_AIX) && !defined(__sun) | 280 | #if !defined(_AIX) && !defined(__sun) && !defined(__QNXNTO__) |
| 281 | Byte Type; | 281 | Byte Type; |
| 282 | #endif | 282 | #endif |
| 283 | FString Name; | 283 | FString Name; |
| 284 | 284 | ||
| 285 | /* | 285 | /* |
| 286 | #if !defined(_AIX) && !defined(__sun) | 286 | #if !defined(_AIX) && !defined(__sun) && !defined(__QNXNTO__) |
| 287 | bool IsDir() const | 287 | bool IsDir() const |
| 288 | { | 288 | { |
| 289 | // (Type == DT_UNKNOWN) on some systems | 289 | // (Type == DT_UNKNOWN) on some systems |
| @@ -310,7 +310,7 @@ public: | |||
| 310 | bool Fill_FileInfo(const CDirEntry &de, CFileInfo &fileInfo, bool followLink) const; | 310 | bool Fill_FileInfo(const CDirEntry &de, CFileInfo &fileInfo, bool followLink) const; |
| 311 | bool DirEntry_IsDir(const CDirEntry &de, bool followLink) const | 311 | bool DirEntry_IsDir(const CDirEntry &de, bool followLink) const |
| 312 | { | 312 | { |
| 313 | #if !defined(_AIX) && !defined(__sun) | 313 | #if !defined(_AIX) && !defined(__sun) && !defined(__QNXNTO__) |
| 314 | if (de.Type == DT_DIR) | 314 | if (de.Type == DT_DIR) |
| 315 | return true; | 315 | return true; |
| 316 | if (de.Type != DT_UNKNOWN) | 316 | if (de.Type != DT_UNKNOWN) |
