diff options
author | Nick Wellnhofer <wellnhofer@aevum.de> | 2014-12-31 16:24:14 +0100 |
---|---|---|
committer | Nick Wellnhofer <wellnhofer@aevum.de> | 2014-12-31 16:27:33 +0100 |
commit | 0e38a3706039607fb276228648f726ca9e15f6f0 (patch) | |
tree | 4a930159ce6552c56e9ad27484f97cf8f78dd859 /src/config.h.in | |
parent | d605ead4bc5dc96022a3f13bdbf05d2b63da3fd4 (diff) |
Feature test for va_copy
MSVC doesn't support va_copy.
Diffstat (limited to 'src/config.h.in')
-rw-r--r-- | src/config.h.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/config.h.in b/src/config.h.in index 5294bc9..c1e9597 100644 --- a/src/config.h.in +++ b/src/config.h.in @@ -15,3 +15,9 @@ #else #define CMARK_ATTRIBUTE(list) #endif + +#cmakedefine HAVE_VA_COPY + +#ifndef HAVE_VA_COPY + #define va_copy(dest, src) ((dest) = (src)) +#endif |