Mercurial > sdl-ios-xcode
comparison test/automated/platform/platform.c @ 3292:245a7d79577c
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/
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 21 Sep 2009 09:21:00 +0000 |
parents | 22ac66da0765 |
children | 50848072885e |
comparison
equal
deleted
inserted
replaced
3291:b273b2a8a1ea | 3292:245a7d79577c |
---|---|
137 const char *platform_getPlatform (void) | 137 const char *platform_getPlatform (void) |
138 { | 138 { |
139 return | 139 return |
140 #if __AIX__ | 140 #if __AIX__ |
141 "AIX" | 141 "AIX" |
142 #elif __HAIKU__ | |
143 /* Haiku must appear here before BeOS, since it also defines __BEOS__ */ | |
144 "Haiku" | |
142 #elif __BEOS__ | 145 #elif __BEOS__ |
143 "BeOS" | 146 "BeOS" |
144 #elif __BSDI__ | 147 #elif __BSDI__ |
145 "BSDI" | 148 "BSDI" |
146 #elif __DREAMCAST__ | 149 #elif __DREAMCAST__ |
147 "Dreamcast" | 150 "Dreamcast" |
148 #elif __FREEBSD__ | 151 #elif __FREEBSD__ |
149 | |
150 "FreeBSD" | 152 "FreeBSD" |
151 #elif __HPUX__ | 153 #elif __HPUX__ |
152 "HP-UX" | 154 "HP-UX" |
153 #elif __IRIX__ | 155 #elif __IRIX__ |
154 "Irix" | 156 "Irix" |