summaryrefslogtreecommitdiffstats
path: root/src/moc/moc.y
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-10-28 13:39:23 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-01-08 12:31:53 +0900
commitb3f74bb12ab86a90a05f7d48325b25c408d0b985 (patch)
tree9bfd26f8b7c6a3e7a1f2cce66019d41f51fb9cb8 /src/moc/moc.y
parent64d2e7533f57a6ffd64827d83f93a994efafd8d0 (diff)
downloadtqt-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/moc.y')
-rw-r--r--src/moc/moc.y9
1 files changed, 0 insertions, 9 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 )