MingW doesn't support wcstombs_s()...
This commit is contained in:
parent
1e3b21dd5e
commit
2b64f3f17a
@ -45,8 +45,7 @@ DllInstall(BOOL bInstall,
|
|||||||
size_t ret;
|
size_t ret;
|
||||||
|
|
||||||
if (pszCmdLine && *pszCmdLine != '\0')
|
if (pszCmdLine && *pszCmdLine != '\0')
|
||||||
wcstombs_s(&ret, event_source, sizeof(event_source),
|
wcstombs(event_source, pszCmdLine, sizeof(event_source));
|
||||||
pszCmdLine, sizeof(event_source));
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This is an ugly hack due to the strange behavior of "regsvr32 /i".
|
* This is an ugly hack due to the strange behavior of "regsvr32 /i".
|
||||||
|
Loading…
x
Reference in New Issue
Block a user