Haiku no longer #defines __BEOS__, so check for it too (thanks, Axel!).
authorRyan C. Gordon <icculus@icculus.org>
Fri, 29 Mar 2013 21:25:02 -0400
changeset 7035 c18daa241a02
parent 7034 3a5a53435ebd
child 7036 8c891504e325
Haiku no longer #defines __BEOS__, so check for it too (thanks, Axel!). Fixes Bugzilla #1773.
src/main/beos/SDL_BeApp.cc
--- a/src/main/beos/SDL_BeApp.cc	Fri Mar 29 21:21:48 2013 -0400
+++ b/src/main/beos/SDL_BeApp.cc	Fri Mar 29 21:25:02 2013 -0400
@@ -20,7 +20,7 @@
 */
 #include "SDL_config.h"
 
-#ifdef __BEOS__
+#if defined(__BEOS__) || defined(__HAIKU__)
 
 /* Handle the BeApp specific portions of the application */