Skip to content

Commit

Permalink
Fix XP build for hardlinks in orange
Browse files Browse the repository at this point in the history
  • Loading branch information
schinagl committed Mar 26, 2024
1 parent 35efe49 commit 549c18e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/winfile.h
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,11 @@ BOOL RectTreeItem(HWND hwndLB, INT iItem, BOOL bFocusOn);
#define ATTR_COMPRESSED FILE_ATTRIBUTE_COMPRESSED // == 0x0800
#define ATTR_NOT_INDEXED FILE_ATTRIBUTE_NOT_CONTENT_INDEXED // == 0x2000
#define ATTR_ENCRYPTED FILE_ATTRIBUTE_ENCRYPTED // == 0x4000
#ifndef FILE_ATTRIBUTE_INTEGRITY_STREAM
#define ATTR_HARDLINK 0x8000 // XP SDK doesn't have this
#else
#define ATTR_HARDLINK FILE_ATTRIBUTE_INTEGRITY_STREAM // == 0x8000, abuse INTEGRITY_STREAM
#endif
#define ATTR_USED 0xEDBF // ATTR we use that are returned from FindFirst/NextFile

#define ATTR_PARENT 0x0040 // my hack DTA bits
Expand Down

0 comments on commit 549c18e

Please sign in to comment.