diff options
Diffstat (limited to 'src/tqmoc')
-rw-r--r-- | src/tqmoc/tqmoc.y | 9 | ||||
-rw-r--r-- | src/tqmoc/tqmoc_yacc.cpp | 9 |
2 files changed, 0 insertions, 18 deletions
diff --git a/src/tqmoc/tqmoc.y b/src/tqmoc/tqmoc.y index 5854ce787..7bd726a32 100644 --- a/src/tqmoc/tqmoc.y +++ b/src/tqmoc/tqmoc.y @@ -2140,16 +2140,7 @@ void registerClassInNamespace() inline bool isSpace( char x ) { -#if defined(Q_CC_BOR) - /* - Borland C++ 4.5 has a weird isspace() bug. - isspace() usually works, but not here. - This implementation is sufficient for our internal use: rmWS() - */ - return (uchar) x <= 32; -#else return isspace( (uchar) x ); -#endif } static TQCString rmWS( const char *src ) diff --git a/src/tqmoc/tqmoc_yacc.cpp b/src/tqmoc/tqmoc_yacc.cpp index 0422ee4cd..fdf898cd6 100644 --- a/src/tqmoc/tqmoc_yacc.cpp +++ b/src/tqmoc/tqmoc_yacc.cpp @@ -5015,16 +5015,7 @@ void registerClassInNamespace() inline bool isSpace( char x ) { -#if defined(Q_CC_BOR) - /* - Borland C++ 4.5 has a weird isspace() bug. - isspace() usually works, but not here. - This implementation is sufficient for our internal use: rmWS() - */ - return (uchar) x <= 32; -#else return isspace( (uchar) x ); -#endif } static TQCString rmWS( const char *src ) |