From Mike Weiblen, Fixes for Win32 build

This commit is contained in:
Robert Osfield
2004-05-09 06:29:54 +00:00
parent 86d323752d
commit 35c6632cfd
2 changed files with 2 additions and 1 deletions

View File

@@ -45,7 +45,7 @@ bool osgDB::fileExists(const std::string& filename)
osgDB::FileType osgDB::fileType(const std::string& filename)
{
#if defined(WIN32) && !defined(__CYGWIN__)
if (!fileExists(const std::string& filename))
if (!fileExists(filename))
{
return FILE_NOT_FOUND;
}