Support for UNICODE on Win32

2006-12-27
2013-05-02
  • Nobody/Anonymous

    in ilu_internal.h:
    line 45
    change from:
        #define IL_TEXT(s) (s)
    to:
        #define IL_TEXT(s) TEXT(s)

     
    • Anonymous - 2006-12-29

      why?

       
    • Nobody/Anonymous

      Win32:

      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

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks