Haiku support.
This commit is contained in:
parent
2e134c7190
commit
43dbf3a22c
|
@ -81,6 +81,9 @@ Mingw support,
|
|||
General bug fixes:
|
||||
Matze Braun
|
||||
|
||||
Haiku support:
|
||||
scott mc
|
||||
|
||||
Bug fixes:
|
||||
Jörg Walter
|
||||
|
||||
|
|
|
@ -12,7 +12,11 @@
|
|||
* PHYSFS_PLATFORM_UNIX on that system.
|
||||
*/
|
||||
|
||||
#if ((defined __BEOS__) || (defined __beos__))
|
||||
#if (defined __HAIKU__)
|
||||
# define PHYSFS_PLATFORM_HAIKU
|
||||
# define PHYSFS_PLATFORM_BEOS
|
||||
# define PHYSFS_PLATFORM_POSIX
|
||||
#elif ((defined __BEOS__) || (defined __beos__))
|
||||
# define PHYSFS_PLATFORM_BEOS
|
||||
# define PHYSFS_PLATFORM_POSIX
|
||||
#elif (defined _WIN32_WCE) || (defined _WIN64_WCE)
|
||||
|
|
|
@ -11,6 +11,18 @@
|
|||
|
||||
#ifdef PHYSFS_PLATFORM_BEOS
|
||||
|
||||
#ifdef PHYSFS_PLATFORM_HAIKU
|
||||
#include <os/kernel/OS.h>
|
||||
#include <os/app/Roster.h>
|
||||
#include <os/storage/Volume.h>
|
||||
#include <os/storage/VolumeRoster.h>
|
||||
#include <os/storage/Directory.h>
|
||||
#include <os/storage/Entry.h>
|
||||
#include <os/storage/Path.h>
|
||||
#include <os/kernel/fs_info.h>
|
||||
#include <os/device/scsi.h>
|
||||
#include <os/support/Locker.h>
|
||||
#else
|
||||
#include <be/kernel/OS.h>
|
||||
#include <be/app/Roster.h>
|
||||
#include <be/storage/Volume.h>
|
||||
|
@ -21,6 +33,7 @@
|
|||
#include <be/kernel/fs_info.h>
|
||||
#include <be/device/scsi.h>
|
||||
#include <be/support/Locker.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
|
Loading…
Reference in New Issue