Commit 2b64f3f1 authored by Magnus Hagander's avatar Magnus Hagander

MingW doesn't support wcstombs_s()...

parent 1e3b21dd
...@@ -45,8 +45,7 @@ DllInstall(BOOL bInstall, ...@@ -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".
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment