summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qcollator_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/text/qcollator_p.h')
-rw-r--r--src/corelib/text/qcollator_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/text/qcollator_p.h b/src/corelib/text/qcollator_p.h
index fc2d434a8d..444ae06a99 100644
--- a/src/corelib/text/qcollator_p.h
+++ b/src/corelib/text/qcollator_p.h
@@ -57,7 +57,7 @@
#include <QVector>
#if QT_CONFIG(icu)
#include <unicode/ucol.h>
-#elif defined(Q_OS_OSX)
+#elif defined(Q_OS_MACOS)
#include <CoreServices/CoreServices.h>
#elif defined(Q_OS_WIN)
#include <qt_windows.h>
@@ -70,7 +70,7 @@ typedef UCollator *CollatorType;
typedef QByteArray CollatorKeyType;
const CollatorType NoCollator = nullptr;
-#elif defined(Q_OS_OSX)
+#elif defined(Q_OS_MACOS)
typedef CollatorRef CollatorType;
typedef QVector<UCCollationValue> CollatorKeyType;
const CollatorType NoCollator = 0;