diff options
author | Michele Calgaro <[email protected]> | 2024-10-27 13:06:53 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-10-27 13:06:53 +0900 |
commit | 31af8fa045de34407fbe0beda3ad65afaf0080d2 (patch) | |
tree | ca111326f2fd3f4f60333131c272ab25fa133dc6 /lib/antlr | |
parent | 137a74149e678345cc799dc181732824fc9bb24d (diff) | |
download | tdevelop-31af8fa045de34407fbe0beda3ad65afaf0080d2.tar.gz tdevelop-31af8fa045de34407fbe0beda3ad65afaf0080d2.zip |
Drop Borland compiler specific code
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'lib/antlr')
-rw-r--r-- | lib/antlr/antlr/config.h | 9 | ||||
-rw-r--r-- | lib/antlr/src/String.cpp | 6 |
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) |