diff options
Diffstat (limited to 'lib/Support/regerror.c')
-rw-r--r-- | lib/Support/regerror.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Support/regerror.c b/lib/Support/regerror.c index 88d33b8862..1d67c9a2b0 100644 --- a/lib/Support/regerror.c +++ b/lib/Support/regerror.c @@ -45,6 +45,10 @@ #include "regutils.h" +#ifdef _MSC_VER +#define snprintf _snprintf +#endif + static const char *regatoi(const llvm_regex_t *, char *, int); static struct rerr { |