diff options
author | Stef Walter <stef@thewalter.net> | 2004-04-03 23:00:48 +0000 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2004-04-03 23:00:48 +0000 |
commit | 7a80b56ff1da9ea7ff0b7817213f5c9d09644a65 (patch) | |
tree | 35723506b64a4ebd23017f87845faa4e5d8c9286 /src/drive.h | |
parent | abcb5c9321f31df3f84f0b07bfe61bbd1d594042 (diff) |
Fixes for windows.
Diffstat (limited to 'src/drive.h')
-rw-r--r-- | src/drive.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/drive.h b/src/drive.h index 9d8e58c..fc05567 100644 --- a/src/drive.h +++ b/src/drive.h @@ -23,7 +23,13 @@ #include "usuals.h" #define kSectorSize 0x200 -#define kInvalidSector UL(0xFFFFFFFFFFFFFFFF) + +#ifdef _WIN32 + #define kInvalidSector 0xFFFFFFFFFFFFFFFF +#else + #define kInvalidSector 0xFFFFFFFFFFFFFFFFLL +#endif + struct _ntfsx_mftmap; struct _drivelocks; |