1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Finally turned off the T wide-char string macro by default. If you've used it in your code, I'd recommend just skimming through and simply removing it. Any ascii strings will work fine without it; any strings containing extended chars are NOT PORTABLE and shouldn't be embedded anyway, but will work just as well if you replace the T with an 'L' prefix (much better to re-encode them as escaped UTF-8 though). If you really must keep using the macro, you can set the JUCE_DEFINE_T_MACRO flag to 1, and it will still be available as before.

This commit is contained in:
jules 2011-09-28 11:40:00 +01:00
parent f35738afe0
commit 6b07bfb51b
15 changed files with 63 additions and 160 deletions

View file

@ -36,7 +36,6 @@
// and your header search path must make it accessible to the module's files.
#include "AppConfig.h"
#define JUCE_DONT_DEFINE_MACROS 1
#include "../juce_core/native/juce_BasicNativeHeaders.h"
#include "../juce_gui_extra/juce_gui_extra.h"
#include "juce_video.h"