mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 10:52:56 +00:00
cleanup qreal type definition conditionals
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
cec8cedeca
commit
a51e760d26
2 changed files with 2 additions and 6 deletions
|
@ -927,9 +927,7 @@ redefine to built-in booleans to make autotests work properly */
|
|||
#endif
|
||||
|
||||
// This logic must match the one in qmetatype.h
|
||||
#if defined(QT_COORD_TYPE)
|
||||
typedef QT_COORD_TYPE qreal;
|
||||
#elif defined(QT_NO_FPU) || defined(QT_ARCH_ARM)
|
||||
#if defined(QT_NO_FPU)
|
||||
typedef float qreal;
|
||||
#else
|
||||
typedef double qreal;
|
||||
|
|
|
@ -88,9 +88,7 @@ public:
|
|||
LastCoreExtType = QVariant,
|
||||
|
||||
// This logic must match the one in qglobal.h
|
||||
#if defined(QT_COORD_TYPE)
|
||||
QReal = 0,
|
||||
#elif defined(QT_NO_FPU) || defined(QT_ARCH_ARM)
|
||||
#if defined(QT_NO_FPU)
|
||||
QReal = Float,
|
||||
#else
|
||||
QReal = Double,
|
||||
|
|
Loading…
Add table
Reference in a new issue