Ticket #1142: test_setup.cpp.patch

File test_setup.cpp.patch, 433 bytes (added by Teiresias, 9 years ago)

Enable vswprintf-calls for Unicode in test project/*BSD-projects

  • source/test_setup.cpp

     
    7373        // Timer must be initialised, else things will break when tests do IO
    7474        timer_LatchStartTime();
    7575
    76 #if OS_MACOSX
     76#if OS_MACOSX || OS_BSD
    7777        // See comment in GameSetup.cpp FixLocales
    7878        setlocale(LC_CTYPE, "UTF-8");
    7979#endif