diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-10-28 13:39:23 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-08 12:31:53 +0900 |
| commit | b3f74bb12ab86a90a05f7d48325b25c408d0b985 (patch) | |
| tree | 9bfd26f8b7c6a3e7a1f2cce66019d41f51fb9cb8 /src/moc | |
| parent | 64d2e7533f57a6ffd64827d83f93a994efafd8d0 (diff) | |
| download | tqt-b3f74bb1.tar.gz tqt-b3f74bb1.zip | |
Drop Borland compiler specific code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 69e1261df646edf24612d7f953dac81182e7461b)
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 ) |
