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."
This commit is contained in:
Robert Osfield
2008-04-11 10:30:00 +00:00
parent 66ed3a919a
commit 462067c5d9
4 changed files with 10 additions and 10 deletions

View File

@@ -20,9 +20,9 @@
#endif
#if defined(WIN32) && !defined(__CYGWIN__)
#include <Io.h>
#include <Windows.h>
#include <Winbase.h>
#include <io.h>
#include <windows.h>
#include <winbase.h>
#elif defined(__APPLE__) && defined(APPLE_PRE_10_3)
#include <mach-o/dyld.h>
#else // all other unix

View File

@@ -16,9 +16,9 @@
// for now, the above include is commented out, and the below code takes precedence.
#if defined(WIN32) && !defined(__CYGWIN__)
#include <Io.h>
#include <Windows.h>
#include <Winbase.h>
#include <io.h>
#include <windows.h>
#include <winbase.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <direct.h> // for _mkdir

View File

@@ -16,9 +16,9 @@
#include <osg/io_utils>
#if defined(WIN32) && !defined(__CYGWIN__)
#include <Io.h>
#include <Windows.h>
#include <Winbase.h>
#include <io.h>
#include <windows.h>
#include <winbase.h>
// set up for windows so acts just like unix access().
#define F_OK 4
#else // unix

View File

@@ -48,7 +48,7 @@
# define SOCKET_ERROR -1
#else
# include <windows.h>
# include <Wininet.h>
# include <wininet.h>
//# include <errno.h>
#ifdef _MSC_VER
# pragma comment(lib, "Wininet")