diff --git a/src/corelib/ipc/qsharedmemory_p.h b/src/corelib/ipc/qsharedmemory_p.h index f83edc58045..82cce8919ac 100644 --- a/src/corelib/ipc/qsharedmemory_p.h +++ b/src/corelib/ipc/qsharedmemory_p.h @@ -105,7 +105,7 @@ public: { return quint16(type) <= 0xff; } static bool runtimeSupportCheck(); -#if QT_CONFIG(sysv_sem) +#if QT_CONFIG(sysv_shm) key_t handle(QSharedMemoryPrivate *self); bool cleanHandle(QSharedMemoryPrivate *self); bool create(QSharedMemoryPrivate *self, qsizetype size);