2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-18 01:52:17 +00:00

Switch to explicit ANSI variants of Win32 API functions (#543)

Allow clean compilation with /DUNICODE defined.

Fixes #542
This commit is contained in:
Mateusz Łoskot
2020-02-28 14:32:34 +01:00
committed by GitHub
parent aa9b558bb2
commit 71b8d4b823
6 changed files with 25 additions and 15 deletions

View File

@@ -174,7 +174,7 @@ static int canonicWindowsPath( char const * const path, int const path_length,
if ( !( n_length == 1 && n[ 0 ] == '.' )
&& !( n_length == 2 && n[ 0 ] == '.' && n[ 1 ] == '.' ) )
{
WIN32_FIND_DATA fd;
WIN32_FIND_DATAA fd;
HANDLE const hf = FindFirstFileA( out->value, &fd );
if ( hf != INVALID_HANDLE_VALUE )
{