summaryrefslogtreecommitdiffstats
path: root/lib/antlr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/antlr')
-rw-r--r--lib/antlr/antlr/config.h9
-rw-r--r--lib/antlr/src/String.cpp6
2 files changed, 0 insertions, 15 deletions
diff --git a/lib/antlr/antlr/config.h b/lib/antlr/antlr/config.h
index 4d3456ec..200463b8 100644
--- a/lib/antlr/antlr/config.h
+++ b/lib/antlr/antlr/config.h
@@ -265,15 +265,6 @@
#endif
/*}}}*/
/*****************************************************************************/
-#ifdef __BORLANDC__
-# if __BORLANDC__ >= 560
-# include <ctype>
-# include <stdlib>
-# define ANTLR_CCTYPE_NEEDS_STD
-# else
-# error "sorry, compiler is too old - consider an update."
-# endif
-#endif
// Redefine these for backwards compatability..
#undef ANTLR_BEGIN_NAMESPACE
diff --git a/lib/antlr/src/String.cpp b/lib/antlr/src/String.cpp
index 6d8b43cf..39b09ab1 100644
--- a/lib/antlr/src/String.cpp
+++ b/lib/antlr/src/String.cpp
@@ -19,12 +19,6 @@
namespace antlr {
#endif
-// wh: hack for Borland C++ 5.6
-#if __BORLANDC__
- using std::sprintf;
-#endif
-
-
// RK: should be using snprintf actually... (or stringstream)
ANTLR_C_USING(sprintf)