Clean ups for the Windows build.

This commit is contained in:
Robert Osfield
2002-06-18 10:18:12 +00:00
parent d3b4a36447
commit aa58ecae2f
6 changed files with 11 additions and 15 deletions

View File

@@ -1,15 +1,9 @@
#ifdef TARGET_API_MAC_CARBON
#include "FileUtils_Mac.cpp"
#include <osgDB/FileUtils_Mac.cpp>
#else
// implementations for Windows and all Unix's except Mac when TARGET_API_MAC_CARBON defined.
#include <osg/Notify>
#include <osgDB/FileUtils>
#include <osgDB/FileNameUtils>
#include <osgDB/Registry>
#if defined(WIN32) && !defined(__CYGWIN__)
#include <Io.h>
#include <Windows.h>
@@ -22,6 +16,13 @@
#include <dlfcn.h>
#endif
#include <osg/Notify>
#include <osgDB/FileUtils>
#include <osgDB/FileNameUtils>
#include <osgDB/Registry>
bool osgDB::fileExists(const std::string& filename)
{
return access( filename.c_str(), F_OK ) == 0;