Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2b64f3f

Browse files
committed
MingW doesn't support wcstombs_s()...
1 parent1e3b21d commit2b64f3f

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_tret;
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)

[8]ページ先頭

©2009-2025 Movatter.jp