diff options
author | Chris Wilson <chris+github@qwirx.com> | 2006-10-27 19:17:54 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2006-10-27 19:17:54 +0000 |
commit | 803ef27e1c5d9080ce9068e230beba680c1db57f (patch) | |
tree | ad7ea389e9685be23a17b657121ee85967214ef9 /lib/common/FileStream.h | |
parent | c782c09e6d73f85c6eb946a62f77d4d4a124a688 (diff) |
Use INVALID_HANDLE_VALUE instead of NULL for invalid handles on Win32.
Diffstat (limited to 'lib/common/FileStream.h')
-rw-r--r-- | lib/common/FileStream.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common/FileStream.h b/lib/common/FileStream.h index 7a4a29f3..721bf3dd 100644 --- a/lib/common/FileStream.h +++ b/lib/common/FileStream.h @@ -21,7 +21,7 @@ #endif #ifdef WIN32 - #define INVALID_FILE NULL + #define INVALID_FILE INVALID_HANDLE_VALUE typedef HANDLE tOSFileHandle; #else #define INVALID_FILE -1 |