Changeset 8076

Show
Ignore:
Timestamp:
04/11/08 12:30:00
Author:
robert
Message:

From Benoit Laniel, "I use mingw to cross-compile openscenegraph to win32. However, linux
filesystem is case-sensitive. Here are the modifications needed to make
the compiler happy. These are only some include lines rewritten (Io.h to
io.h, Windows.h to windows.h etc.) for version 2.3.7."

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • OpenSceneGraph/trunk/src/osgDB/DynamicLibrary.cpp

    r5328 r8076  
    2121 
    2222#if defined(WIN32) && !defined(__CYGWIN__) 
    23 #include <Io.h> 
    24 #include <Windows.h> 
    25 #include <Winbase.h> 
     23#include <io.h> 
     24#include <windows.h> 
     25#include <winbase.h> 
    2626#elif defined(__APPLE__) && defined(APPLE_PRE_10_3) 
    2727#include <mach-o/dyld.h> 
  • OpenSceneGraph/trunk/src/osgDB/FileUtils.cpp

    r7496 r8076  
    1717 
    1818#if defined(WIN32) && !defined(__CYGWIN__) 
    19     #include <Io.h> 
    20     #include <Windows.h> 
    21     #include <Winbase.h> 
     19    #include <io.h> 
     20    #include <windows.h> 
     21    #include <winbase.h> 
    2222    #include <sys/types.h> 
    2323    #include <sys/stat.h> 
  • OpenSceneGraph/trunk/src/osgPlugins/cfg/CameraConfig.cpp

    r7717 r8076  
    1717 
    1818#if defined(WIN32) && !defined(__CYGWIN__) 
    19     #include <Io.h> 
    20     #include <Windows.h> 
    21     #include <Winbase.h> 
     19    #include <io.h> 
     20    #include <windows.h> 
     21    #include <winbase.h> 
    2222    // set up for windows so acts just like unix access(). 
    2323    #define F_OK 4 
  • OpenSceneGraph/trunk/src/osgPlugins/net/sockstream.h

    r6461 r8076  
    4949#else 
    5050#  include <windows.h> 
    51 #  include <Wininet.h> 
     51#  include <wininet.h> 
    5252//#  include <errno.h> 
    5353#ifdef _MSC_VER