diff options
| author | jhurst <jhurst@cinecert.com> | 2009-03-10 19:07:45 +0000 |
|---|---|---|
| committer | jhurst <> | 2009-03-10 19:07:45 +0000 |
| commit | 049da36d618fc0e2b22e9546e238e92ade766195 (patch) | |
| tree | 29cb7cde275a842f862cdaa7c31577d564feed5f /src/KM_fileio.h | |
| parent | 2bcfa2201c6a3d278217c58630545842c905d432 (diff) | |
HANDLE is a bad symbol for portable code!
Diffstat (limited to 'src/KM_fileio.h')
| -rwxr-xr-x | src/KM_fileio.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/KM_fileio.h b/src/KM_fileio.h index ceeb8eb..fbe15c1 100755 --- a/src/KM_fileio.h +++ b/src/KM_fileio.h @@ -1,5 +1,5 @@ /* -Copyright (c) 2004-2007, John Hurst +Copyright (c) 2004-2009, John Hurst All rights reserved. Redistribution and use in source and binary forms, with or without @@ -82,8 +82,8 @@ namespace Kumu #else typedef off_t fsize_t; typedef off_t fpos_t; - typedef int HANDLE; - const HANDLE INVALID_HANDLE_VALUE = -1L; + typedef int FileHandle; + const FileHandle INVALID_HANDLE_VALUE = -1L; enum SeekPos_t { SP_BEGIN = SEEK_SET, @@ -221,7 +221,7 @@ namespace Kumu protected: std::string m_Filename; - HANDLE m_Handle; + FileHandle m_Handle; public: FileReader() : m_Handle(INVALID_HANDLE_VALUE) {} |
