[AD] `main' define on OS X

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


I didn't test this when it was proposed, but it was pointed out that this makes the examples fail to compile:

/Users/trent/code/allegro/demos/skater/src/skater.c:24: error: conflicting types for ‘_al_mangled_main’
/Users/trent/code/allegro/include/allegro5/platform/alosx.h:64: error: previous declaration of ‘_al_mangled_main’ was here

Trent



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