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

@ -5,6 +5,7 @@
#ifndef OSG_PLANE
#define OSG_PLANE 1
#include <osg/Export>
#include <osg/Vec3>
#include <osg/Vec4>
#include <osg/Matrix>

View File

@ -5,7 +5,6 @@
#ifndef OSG_SHADOWVOLUMEOCCLUDER
#define OSG_SHADOWVOLUMEOCCLUDER 1
#include <osg/ref_ptr>
#include <osg/Polytope>
#include <osg/ConvexPlanerOccluder>
#include <osg/Node>

View File

@ -1,6 +1,6 @@
#include <osg/ColorMatrix>
#include <osg/GL>
#include <osg/GLExtensions>
#include <osg/ColorMatrix>
using namespace osg;

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;

View File

@ -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();

View File

@ -1,8 +1,3 @@
// Input.cpp
#include <string>
// #include <malloc.h>
#include <osg/Notify>
#include <osgDB/FileUtils>