[D-runtime] [D-Programming-Language/druntime] 308cd7: Fix declaration of lstrcmp/lstrcmpi in windows.d

GitHub via D-runtime d-runtime at puremagic.com
Sun Jul 6 23:16:43 PDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/druntime
  Commit: 308cd7722872b41b06cf92d67551a334c9d21ff2
      https://github.com/D-Programming-Language/druntime/commit/308cd7722872b41b06cf92d67551a334c9d21ff2
  Author: kai <kai at redstar.de>
  Date:   2014-07-07 (Mon, 07 Jul 2014)

  Changed paths:
    M src/core/sys/windows/windows.d

  Log Message:
  -----------
  Fix declaration of lstrcmp/lstrcmpi in windows.d

According to MSDN (http://msdn.microsoft.com/en-us/library/windows/desktop/ms647488(v=vs.85).aspx), lstrcmp and lstrcmpi
follow the usual pattern of being macros expanding to either the ANSI (lstrcmpA) or Unicode (lstrcmpW).
The current declaration in windows.d misses the postfix A/W. This causes compile errors with ldc because the
mangled names are identical.


  Commit: b0b9f0cb64688acc52a8e25f8eafa5318cc7e795
      https://github.com/D-Programming-Language/druntime/commit/b0b9f0cb64688acc52a8e25f8eafa5318cc7e795
  Author: Martin Nowak <code at dawg.eu>
  Date:   2014-07-07 (Mon, 07 Jul 2014)

  Changed paths:
    M src/core/sys/windows/windows.d

  Log Message:
  -----------
  Merge pull request #874 from redstar/lstrcmp

Fix declaration of lstrcmp/lstrcmpi in windows.d


Compare: https://github.com/D-Programming-Language/druntime/compare/3da68d934bdb...b0b9f0cb6468


More information about the D-runtime mailing list