From 7ac0e8af264c4ab82fb663d342011dfd18d4572d Mon Sep 17 00:00:00 2001
From: Benjamin Kramer <benny.kra@googlemail.com>
Date: Sun, 6 Sep 2009 12:26:28 +0000
Subject: More MSVC warning fixes: 1. DUPMAX is defined in regcomp.c, no need
 to redefine it in regutils. 2. MSVC doesn't like snprintf, use _snprintf
 instead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81114 91177308-0d34-0410-b5e6-96231b3b80d8
---
 lib/Support/regutils.h | 2 --
 1 file changed, 2 deletions(-)

(limited to 'lib/Support/regutils.h')

diff --git a/lib/Support/regutils.h b/lib/Support/regutils.h
index 7150a3f..d0ee100 100644
--- a/lib/Support/regutils.h
+++ b/lib/Support/regutils.h
@@ -36,8 +36,6 @@
  */
 
 /* utility definitions */
-#define	DUPMAX		_POSIX2_RE_DUP_MAX	/* xxx is this right? */
-#define	INFINITY	(DUPMAX + 1)
 #define	NC		(CHAR_MAX - CHAR_MIN + 1)
 typedef unsigned char uch;
 
-- 
cgit v1.1