Skip to content
Permalink
Browse files
Haiku support.
  • Loading branch information
icculus committed Nov 5, 2008
1 parent 2e134c7 commit 43dbf3a22c661e9ee00151707323cc030b0f97ef
Showing with 21 additions and 1 deletion.
  1. +3 −0 CREDITS.txt
  2. +5 −1 physfs_platforms.h
  3. +13 −0 platform/beos.cpp
@@ -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>

0 comments on commit 43dbf3a

Please sign in to comment.