[Commits] [wesnoth/wesnoth] 0b3142: Fix some win32 API usage

GitHub noreply at github.com
Sun Apr 6 19:11:31 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 0b3142785409ea0fb4cfa78e6b10da90057c6bee
      https://github.com/wesnoth/wesnoth/commit/0b3142785409ea0fb4cfa78e6b10da90057c6bee
  Author: Alexander van Gessel <ai0867 at gmail.com>
  Date:   2014-04-06 (Sun, 06 Apr 2014)

  Changed paths:
    M src/filesystem.cpp
    M src/filesystem_win32.ii

  Log Message:
  -----------
  Fix some win32 API usage

aquileia noticed that with MSVC set to 'unicode', wesnoth didn't compile.
The reason is that much of the win32 API is provided by macros that switch
foo(LPCTSTR) between fooA(const char*) and fooW(const wchar_t*).
We were using foo with const char*.


  Commit: 724adc4ddceb5a7e15f5dddb6c57d010a34ebccd
      https://github.com/wesnoth/wesnoth/commit/724adc4ddceb5a7e15f5dddb6c57d010a34ebccd
  Author: Alexander van Gessel <ai0867 at gmail.com>
  Date:   2014-04-06 (Sun, 06 Apr 2014)

  Changed paths:
    M src/desktop_util.cpp
    M src/windows_tray_notification.hpp

  Log Message:
  -----------
  Silence a macro redefinition warning


  Commit: a29ba939b76e0349d15d7d2b94cff7bcb83ad031
      https://github.com/wesnoth/wesnoth/commit/a29ba939b76e0349d15d7d2b94cff7bcb83ad031
  Author: Alexander van Gessel <ai0867 at gmail.com>
  Date:   2014-04-06 (Sun, 06 Apr 2014)

  Changed paths:
    M src/desktop_util.cpp
    M src/filesystem.cpp
    M src/filesystem_win32.ii
    M src/windows_tray_notification.hpp

  Log Message:
  -----------
  Merge branch 'w32_unicode_compilation'


Compare: https://github.com/wesnoth/wesnoth/compare/b542e8193a83...a29ba939b76e


More information about the Commits mailing list