aboutsummaryrefslogtreecommitdiff
path: root/llvm/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
commit2b37efaf533086cf00c51c30df08dad6636f1281 (patch)
treefb24300ac21c34071b9743f296773b1b2fd70651 /llvm/lib/Support/regutils.h
parent8234cdb68fc749431c077bb3f3242f4e3f5aecd8 (diff)
downloadllvm-2b37efaf533086cf00c51c30df08dad6636f1281.zip
llvm-2b37efaf533086cf00c51c30df08dad6636f1281.tar.gz
llvm-2b37efaf533086cf00c51c30df08dad6636f1281.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. llvm-svn: 81114
Diffstat (limited to 'llvm/lib/Support/regutils.h')
-rw-r--r--llvm/lib/Support/regutils.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Support/regutils.h b/llvm/lib/Support/regutils.h
index 7150a3f0..d0ee100 100644
--- a/llvm/lib/Support/regutils.h
+++ b/llvm/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;