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

Commitc2316dc

Browse files
committed
Fix for lack of va_copy() on certain Windows versions
Based-on-patch-by: David Rowley <dgrowleyml@gmail.com>
1 parent595a6a0 commitc2316dc

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

‎src/include/port/win32.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,15 @@ intsetitimer(int which, const struct itimerval * value, struct itimerval * ov
237237
#endif
238238
#endif
239239

240+
/*
241+
* Supplement to <stdarg.h>
242+
*/
243+
244+
/* Visual Studios 2012 and earlier don't have va_copy() */
245+
#if defined(_MSC_VER)&&_MSC_VER <=1700
246+
#defineva_copy(dest,src) ((dest) = (src))
247+
#endif
248+
240249
/*
241250
* Supplement to <sys/types.h>.
242251
*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp