X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FSupport%2Fregerror.c;h=1d67c9a2b03b172ee2d5d0128bc1f48ac2508638;hb=217c714a6779841ae06f420f384b87e12454b1a1;hp=88d33b8862aae09cbb24014e26bafd5864b33968;hpb=ce0c81e7dd321e9f94f628daa5528f56cab0ab88;p=oota-llvm.git diff --git a/lib/Support/regerror.c b/lib/Support/regerror.c index 88d33b8862a..1d67c9a2b03 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 {