summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qglobal.h
diff options
context:
space:
mode:
authorDavid Faure <david.faure@kdab.com>2012-12-06 10:47:59 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-12-06 12:49:02 +0100
commit158f39ec7870c54ff3a15f72fe151062d6daa172 (patch)
tree387cd74b765cded013d269fdf048ef29524d5550 /src/corelib/global/qglobal.h
parentae8533e4ae3ae2ca32a5dcfc4302d40ee0e2fb0f (diff)
Remove the TRUE and FALSE macros
They are completely unused in Qt, and are a potential source of compilation errors in application code. Change-Id: I6dfe2891f3b2365a30048f99c31e8e3a2425e62b Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'src/corelib/global/qglobal.h')
-rw-r--r--src/corelib/global/qglobal.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h
index 60b90dc70f..6c2900e215 100644
--- a/src/corelib/global/qglobal.h
+++ b/src/corelib/global/qglobal.h
@@ -436,17 +436,6 @@ typedef QIntegerForSizeof<void*>::Unsigned quintptr;
typedef QIntegerForSizeof<void*>::Signed qptrdiff;
typedef qptrdiff qintptr;
-/*
- Constant bool values
-*/
-
-#ifndef QT_LINUXBASE /* the LSB defines TRUE and FALSE for us */
-# ifndef TRUE
-# define TRUE true
-# define FALSE false
-# endif
-#endif
-
/* moc compats (signals/slots) */
#ifndef QT_MOC_COMPAT
# define QT_MOC_COMPAT