fix clang-cl warnings

This commit is contained in:
Vladislav Vaintroub 2022-02-02 01:35:40 +01:00
parent 83cdcf5bf2
commit 2b95c36b4b
2 changed files with 1 additions and 2 deletions

View File

@ -29,7 +29,7 @@
#pragma GCC poison __WIN__
#endif
#if defined(_MSC_VER)
#if defined(_MSC_VER) && !defined(__clang__)
/*
Following functions have bugs, when used with UTF-8 active codepage.
#include <winservice.h> will use the non-buggy wrappers

View File

@ -166,7 +166,6 @@ static inline BOOL my_ChangeServiceConfig(SC_HANDLE hService, DWORD dwServiceTyp
wchar_t *w_Dependencies= NULL;
wchar_t *w_ServiceStartName= NULL;
wchar_t *w_Password= NULL;
SC_HANDLE sch = NULL;
DWORD last_error=0;
BOOL ok= TRUE;