undef B0 to build on PPC (conflict with definition in termios.h)

This is the same fix that was already done in qprinter.h
/usr/include/bits/termios.h:122:#define B0 0000000  /* hang up */
so the compiler sees B0 as a numeric constant

Task-number: QTBUG-29704
Change-Id: I2df5e1783f3142558cbc1606e0c61fcf636f2de8
Reviewed-by: David Faure (KDE) <faure@kde.org>
This commit is contained in:
Shawn Rutledge 2013-02-19 16:50:02 +01:00 committed by The Qt Project
parent 5d6916b4c1
commit 39b1bd8f45

View File

@ -48,6 +48,9 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
#if defined(B0)
#undef B0 // Terminal hang-up. We assume that you do not want that.
#endif
class QPagedPaintDevicePrivate;