diff options
Diffstat (limited to 'src/moc')
| -rw-r--r-- | src/moc/moc.y | 9 | ||||
| -rw-r--r-- | src/moc/moc_yacc.cpp | 9 |
2 files changed, 0 insertions, 18 deletions
diff --git a/src/moc/moc.y b/src/moc/moc.y index 4b754b7bc..b3371cab9 100644 --- a/src/moc/moc.y +++ b/src/moc/moc.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/moc/moc_yacc.cpp b/src/moc/moc_yacc.cpp index ef980dd34..bf8963493 100644 --- a/src/moc/moc_yacc.cpp +++ b/src/moc/moc_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 ) |
