Clean ups for the Windows build.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user