From a6e134e811284562275579e9e29cf8d4c0dd9d78 Mon Sep 17 00:00:00 2001 From: PKEuS Date: Wed, 2 Apr 2014 17:26:59 +0200 Subject: [PATCH] Removed compatibility code for Borland and Sun compilers which should not be necessary for a compiler supporting C++11 (as required by cppcheck). --- lib/symboldatabase.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/lib/symboldatabase.cpp b/lib/symboldatabase.cpp index 1cb3f7614..3fcc2cf99 100644 --- a/lib/symboldatabase.cpp +++ b/lib/symboldatabase.cpp @@ -29,19 +29,6 @@ #include #include -// Define ULLONG_MAX and LLONG_MAX for Borland -#ifdef __BORLANDC__ -#define ULLONG_MAX ULONG_MAX -#define LLONG_MAX LONG_MAX -#endif - -// Define ULLONG_MAX and LLONG_MAX for SunCC on non-Solaris systems -#if (defined(__SUNPRO_C) || defined(__SUNPRO_CC)) && \ - !(defined (__sun) || defined (__sun__)) -#define ULLONG_MAX ULONG_MAX -#define LLONG_MAX LONG_MAX -#endif - //--------------------------------------------------------------------------- SymbolDatabase::SymbolDatabase(const Tokenizer *tokenizer, const Settings *settings, ErrorLogger *errorLogger)