summaryrefslogtreecommitdiff
path: root/src/KM_fileio.cpp
diff options
context:
space:
mode:
authorjhurst <jhurst@cinecert.com>2009-03-10 19:07:45 +0000
committerjhurst <>2009-03-10 19:07:45 +0000
commit049da36d618fc0e2b22e9546e238e92ade766195 (patch)
tree29cb7cde275a842f862cdaa7c31577d564feed5f /src/KM_fileio.cpp
parent2bcfa2201c6a3d278217c58630545842c905d432 (diff)
HANDLE is a bad symbol for portable code!
Diffstat (limited to 'src/KM_fileio.cpp')
-rw-r--r--src/KM_fileio.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/KM_fileio.cpp b/src/KM_fileio.cpp
index 4f028f4..c008957 100644
--- a/src/KM_fileio.cpp
+++ b/src/KM_fileio.cpp
@@ -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
@@ -113,7 +113,7 @@ do_stat(const char* path, fstat_t* stat_info)
//
static Kumu::Result_t
-do_fstat(HANDLE handle, fstat_t* stat_info)
+do_fstat(FileHandle handle, fstat_t* stat_info)
{
KM_TEST_NULL_L(stat_info);
@@ -676,7 +676,7 @@ Kumu::FileReader::Tell(Kumu::fpos_t* pos) const
{
KM_TEST_NULL_L(pos);
- if ( m_Handle == (HANDLE)-1L )
+ if ( m_Handle == INVALID_HANDLE_VALUE )
return Kumu::RESULT_FILEOPEN;
LARGE_INTEGER in;