Skip to content

Commit

Permalink
compat: va_copy on Win32 systems
Browse files Browse the repository at this point in the history
  • Loading branch information
vmg committed May 4, 2012
1 parent 76873c0 commit 1adf8c6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/cc-compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,12 @@
# include <stdbool.h>
#endif

#ifndef va_copy
# ifdef __va_copy
# define va_copy(dst, src) __va_copy(dst, src)
# else
# define va_copy(dst, src) ((dst) = (src))
# endif
#endif

#endif /* INCLUDE_compat_h__ */

0 comments on commit 1adf8c6

Please sign in to comment.