July 06, 2014 [D-runtime] [D-Programming-Language/druntime] 308cd7: Fix declaration of lstrcmp/lstrcmpi in windows.d | ||||
---|---|---|---|---|
| ||||
Attachments:
| 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@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@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 |
Copyright © 1999-2021 by the D Language Foundation