mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
MingW doesn't support wcstombs_s()...
This commit is contained in:
@ -45,8 +45,7 @@ DllInstall(BOOL bInstall,
|
||||
size_t ret;
|
||||
|
||||
if (pszCmdLine && *pszCmdLine != '\0')
|
||||
wcstombs_s(&ret, event_source, sizeof(event_source),
|
||||
pszCmdLine, sizeof(event_source));
|
||||
wcstombs(event_source, pszCmdLine, sizeof(event_source));
|
||||
|
||||
/*
|
||||
* This is an ugly hack due to the strange behavior of "regsvr32 /i".
|
||||
|
Reference in New Issue
Block a user