Clean ups for the Windows build.
This commit is contained in:
parent
d3b4a36447
commit
aa58ecae2f
@ -5,6 +5,7 @@
|
||||
#ifndef OSG_PLANE
|
||||
#define OSG_PLANE 1
|
||||
|
||||
#include <osg/Export>
|
||||
#include <osg/Vec3>
|
||||
#include <osg/Vec4>
|
||||
#include <osg/Matrix>
|
||||
|
@ -5,7 +5,6 @@
|
||||
#ifndef OSG_SHADOWVOLUMEOCCLUDER
|
||||
#define OSG_SHADOWVOLUMEOCCLUDER 1
|
||||
|
||||
#include <osg/ref_ptr>
|
||||
#include <osg/Polytope>
|
||||
#include <osg/ConvexPlanerOccluder>
|
||||
#include <osg/Node>
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include <osg/ColorMatrix>
|
||||
#include <osg/GL>
|
||||
#include <osg/GLExtensions>
|
||||
#include <osg/ColorMatrix>
|
||||
|
||||
using namespace osg;
|
||||
|
||||
|
@ -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;
|
||||
|
@ -18,7 +18,7 @@
|
||||
using namespace osg;
|
||||
using namespace osgDB;
|
||||
|
||||
void PrintFilePathList(ostream& stream,const FilePathList& filepath)
|
||||
void PrintFilePathList(std::ostream& stream,const FilePathList& filepath)
|
||||
{
|
||||
for(FilePathList::const_iterator itr=filepath.begin();
|
||||
itr!=filepath.end();
|
||||
|
@ -1,8 +1,3 @@
|
||||
// Input.cpp
|
||||
|
||||
#include <string>
|
||||
// #include <malloc.h>
|
||||
|
||||
#include <osg/Notify>
|
||||
#include <osgDB/FileUtils>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user