Avoid compiling error with Allegro 4.2

This commit is contained in:
David Capello 2015-06-08 19:48:29 -03:00
parent ed4ff82a5e
commit 8902b3701f

View File

@ -682,7 +682,9 @@ public:
throw std::runtime_error("Cannot initialize Allegro library");
set_uformat(U_UTF8);
#if MAKE_VERSION(ALLEGRO_VERSION, ALLEGRO_SUB_VERSION, ALLEGRO_WIP_VERSION) >= MAKE_VERSION(4, 4, 0)
_al_detect_filename_encoding();
#endif
install_timer();
// Register PNG as a supported bitmap type