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:
@@ -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 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user