Re: [AD] Fix dat2c for use with ISO C90 compilers

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> Hopefully we are now done with dat2c. Phew!

Not quite... QNX and BeOS are not Unices.

Patch applied.

-- 
Eric Botcazou
Index: tools/dat2c.c
===================================================================
RCS file: /cvsroot/alleg/allegro/tools/dat2c.c,v
retrieving revision 1.10
diff -u -r1.10 dat2c.c
--- tools/dat2c.c	13 May 2003 15:19:26 -0000	1.10
+++ tools/dat2c.c	13 May 2003 16:42:35 -0000
@@ -343,7 +343,7 @@
     }
     
     if(dat2c->lformat == lineformat_default)
-#if defined ALLEGRO_UNIX
+#if (defined ALLEGRO_UNIX || defined ALLEGRO_QNX || defined ALLEGRO_BEOS)
         dat2c->lformat = lineformat_unix;
 #elif (defined ALLEGRO_WINDOWS || defined ALLEGRO_DOS)
         dat2c->lformat = lineformat_dos;


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/