diff options
author | Chris Wilson <chris+github@qwirx.com> | 2006-09-03 23:39:08 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2006-09-03 23:39:08 +0000 |
commit | eeeb123dddad8e61c5316fcbddfe24d9750b63e3 (patch) | |
tree | 33d859892f73a1dc0016b125c1deaacf3eea0e22 /lib/common/FileStream.h | |
parent | 4434ff992787675604d9868d555887579d07fc52 (diff) |
(refs #3)
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 |