  #define ALLEGRO_LITTLE_ENDIAN
  #define ALLEGRO_CONSOLE_OK
  #define ALLEGRO_USE_CONSTRUCTOR
-diff -urN allegro-4.3.10/include/allegro/platform/alplatf.h allegro-4.3.10-haiku/include/allegro/platform/alplatf.h
---- allegro-4.3.10/include/allegro/platform/alplatf.h	2008-01-19 16:00:54.000000000 -0800
-+++ allegro-4.3.10-haiku/include/allegro/platform/alplatf.h	2008-09-12 03:49:24.000000000 -0700
-@@ -1,2 +1,2 @@
- /* generated by fix.sh */
--#define ALLEGRO_UNIX
-+#define ALLEGRO_BEOS
 diff -urN allegro-4.3.10/makefile.all allegro-4.3.10-haiku/makefile.all
 --- allegro-4.3.10/makefile.all	2008-01-14 03:55:28.000000000 -0800
 +++ allegro-4.3.10-haiku/makefile.all	2008-09-12 03:49:24.000000000 -0700

 	(cd include && rm -f bealleg.h qnxalleg.h macalleg.h winalleg.h)
 	(cd misc && rm -f cmplog.pl dllsyms.lst findtext.sh fixpatch.sh fixver.sh)
 	(cd misc && rm -f allegro-config-qnx.sh zipup.sh zipwin.sh *.bat *.c)
@@ -91,11 +91,11 @@
 
 	# jpgalleg addon
 	(cd addons/jpgalleg && rm -rf examples)
-	(cd addons/jpgalleg && rm -f makefile.be makefile.mgw makefile.dj)
+	(cd addons/jpgalleg && rm -f makefile.be makefile.haiku makefile.mgw makefile.dj)
 	(cd addons/jpgalleg && rm -f makefile.osx makefile.vc fix.bat readme.txt)
 	(cd addons/jpgalleg/misc && rm -f fixver.sh runner.c)
-	(cd addons/jpgalleg/lib && rm -rf beos djgpp macosx mingw32 msvc)

 
diff -urN allegro-4.3.10/misc/mkunixdists.sh allegro-4.3.10-haiku/misc/mkunixdists.sh
--- allegro-4.3.10/misc/mkunixdists.sh	2008-01-10 13:45:48.000000000 -0800
+++ allegro-4.3.10-haiku/misc/mkunixdists.sh	2008-09-12 04:05:22.000000000 -0700
@@ -73,9 +73,9 @@
 # Hack'n'slash
 echo "Stripping to form end-user distribution"
