Skip to content

Commit 2b64f3f

Browse files
committed
MingW doesn't support wcstombs_s()...
1 parent 1e3b21d commit 2b64f3f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/bin/pgevent/pgevent.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ DllInstall(BOOL bInstall,
4545
size_t ret;
4646

4747
if (pszCmdLine && *pszCmdLine != '\0')
48-
wcstombs_s(&ret, event_source, sizeof(event_source),
49-
pszCmdLine, sizeof(event_source));
48+
wcstombs(event_source, pszCmdLine, sizeof(event_source));
5049

5150
/*
5251
* This is an ugly hack due to the strange behavior of "regsvr32 /i".

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy