diff --git a/src/corelib/global/qcompilerdetection.h b/src/corelib/global/qcompilerdetection.h index 1eb442aa5f..6755b82f61 100644 --- a/src/corelib/global/qcompilerdetection.h +++ b/src/corelib/global/qcompilerdetection.h @@ -858,7 +858,7 @@ #ifdef Q_COMPILER_NULLPTR # define Q_NULLPTR nullptr #else -# define Q_NULLPTR 0 +# define Q_NULLPTR NULL #endif #ifdef Q_COMPILER_DEFAULT_MEMBERS