#define IL_TEXT(s) (s)
#define IL_TEXT(s) TEXT(s)
TEXT macro prepends a "L" in front of literal strings if the project is being compiled in Unicode, or does nothing if MBCS or ASCII is being used.
For instance, the string _T("Hello") will be interpreted as "Hello" in MBCS or ASCII, and L"Hello" in Unicode.
DevIL will now compile in all 3 character set settings of msvc
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.