diff options
author | Sam Lantinga <slouken@libsdl.org> | 2009-09-21 09:21:00 +0000 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2009-09-21 09:21:00 +0000 |
commit | 41a0ee8077d34c42fe50dc085f83e36c16d9d66c (patch) | |
tree | 67a97c9e4950b0057dbd71f28cbb1365907428a3 /test/testplatform.c | |
parent | 95a5617922e5f98b2c6e86ed4a9e1959a284d268 (diff) | |
download | sdl-41a0ee8077d34c42fe50dc085f83e36c16d9d66c.tar.gz |
Fixed bug #615
Scott McCreary 2008-08-21 10:48:14 PDT
This patch adds support for Haiku.
http://ports.haiku-files.org/browser/haikuports/trunk/media-libs/libsdl/SDL-1.2.13-haiku.diff
Haiku is an open-source recreation of BeOS. It has better POSIX compliance
than beOS did, and other improved features, which in some cases causes us to
have to "undo" previous BeOS workarounds.
Here's our port log entry for it, showing the steps to force the changes into
configure and Makefile:
http://ports.haiku-files.org/wiki/media-libs/libsdl/1.2.13/1
Note that this was only tried on 1.2.13 stable so far.
Haiku is using a newer config.guess / config.sub that doesn't yet seem to be in
the released libtool, so we are having to copy it in for now.
http://haiku-files.org/files/optional-packages/
Diffstat (limited to 'test/testplatform.c')
-rw-r--r-- | test/testplatform.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/testplatform.c b/test/testplatform.c index 7a858483c..ce792ba33 100644 --- a/test/testplatform.c +++ b/test/testplatform.c @@ -160,6 +160,9 @@ main(int argc, char *argv[]) printf("This system is running %s\n", #if __AIX__ "AIX" +#elif __HAIKU__ +/* Haiku must appear here before BeOS, since it also defines __BEOS__ */ + "Haiku" #elif __BEOS__ "BeOS" #elif __BSDI__ |