diff -Nbaur irrlicht-1.8.0-svn/include/IrrCompileConfig.h irrlicht-1.8.0-svn-haiku/include/IrrCompileConfig.h
|
old
|
new
|
|
| 102 | 102 | #define _IRR_LINUX_PLATFORM_ |
| 103 | 103 | #endif |
| 104 | 104 | #define _IRR_POSIX_API_ |
| | 105 | #if defined(__HAIKU__) |
| | 106 | //check twice |
| | 107 | #undef _IRR_COMPILE_WITH_X11_ |
| | 108 | #define _IRR_COMPILE_WITH_SDL_DEVICE_ |
| | 109 | #define _IRR_COMPILE_WITH_OPENGL_ |
| | 110 | #define _IRR_GETPROCADDRESS_WORKAROUND_ |
| | 111 | #else |
| 105 | 112 | #define _IRR_COMPILE_WITH_X11_DEVICE_ |
| 106 | 113 | #endif |
| | 114 | #endif |
| 107 | 115 | |
| 108 | 116 | |
| 109 | 117 | //! Define _IRR_COMPILE_WITH_JOYSTICK_SUPPORT_ if you want joystick events. |
diff -Nbaur irrlicht-1.8.0-svn/source/Irrlicht/CFileSystem.cpp irrlicht-1.8.0-svn-haiku/source/Irrlicht/CFileSystem.cpp
|
old
|
new
|
|
| 811 | 811 | size = buf.st_size; |
| 812 | 812 | isDirectory = S_ISDIR(buf.st_mode); |
| 813 | 813 | } |
| 814 | | #if !defined(_IRR_SOLARIS_PLATFORM_) && !defined(__CYGWIN__) |
| | 814 | #if !defined(_IRR_SOLARIS_PLATFORM_) && !defined(__CYGWIN__) && !defined(__HAIKU__) |
| 815 | 815 | // only available on some systems |
| 816 | 816 | else |
| 817 | 817 | { |
diff -Nbaur irrlicht-1.8.0-svn/source/Irrlicht/COSOperator.cpp irrlicht-1.8.0-svn-haiku/source/Irrlicht/COSOperator.cpp
|
old
|
new
|
|
| 13 | 13 | #include <unistd.h> |
| 14 | 14 | #ifndef _IRR_SOLARIS_PLATFORM_ |
| 15 | 15 | #include <sys/types.h> |
| | 16 | #if !defined(__HAIKU__) |
| 16 | 17 | #include <sys/sysctl.h> |
| 17 | 18 | #endif |
| 18 | 19 | #endif |
| | 20 | #endif |
| 19 | 21 | |
| 20 | 22 | #if defined(_IRR_COMPILE_WITH_X11_DEVICE_) |
| 21 | 23 | #include "CIrrDeviceLinux.h" |