aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support/regutils.h
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2009-09-06 12:26:28 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2009-09-06 12:26:28 +0000
commit7ac0e8af264c4ab82fb663d342011dfd18d4572d (patch)
tree4c099881a05c153f01b5176908e732b6df0a93e8 /lib/Support/regutils.h
parentcd67298c9746bc1e4ac6f730f7d10122f00072c1 (diff)
downloadexternal_llvm-7ac0e8af264c4ab82fb663d342011dfd18d4572d.zip
external_llvm-7ac0e8af264c4ab82fb663d342011dfd18d4572d.tar.gz
external_llvm-7ac0e8af264c4ab82fb663d342011dfd18d4572d.tar.bz2
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
Diffstat (limited to 'lib/Support/regutils.h')
-rw-r--r--lib/Support/regutils.h2
1 files changed, 0 insertions, 2 deletions
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;