Support for UNICODE on Win32

  • Nobody/Anonymous

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

    • Anonymous - 2006-12-29


    • Nobody/Anonymous


      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


Log in to post a comment.

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

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks