From f63976b7c5fd512c00442efd5cb9afb0b3707388 Mon Sep 17 00:00:00 2001 From: Robert Griebl Date: Fri, 1 Aug 2008 00:37:56 +0200 Subject: The QT_NO_SHAREDMEMORY define was checked a bit too late Reviewed-By: Harald Fernengel --- src/corelib/kernel/qsharedmemory_unix.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/corelib/kernel/qsharedmemory_unix.cpp b/src/corelib/kernel/qsharedmemory_unix.cpp index 487c653..cd248dc 100644 --- a/src/corelib/kernel/qsharedmemory_unix.cpp +++ b/src/corelib/kernel/qsharedmemory_unix.cpp @@ -47,12 +47,9 @@ #include #include -#include - -QT_BEGIN_NAMESPACE - #ifndef QT_NO_SHAREDMEMORY +#include #include #include #include @@ -61,6 +58,8 @@ QT_BEGIN_NAMESPACE #include #include +QT_BEGIN_NAMESPACE + QSharedMemoryPrivate::QSharedMemoryPrivate() : QObjectPrivate(), memory(0), size(0), error(QSharedMemory::NoError), #ifndef QT_NO_SYSTEMSEMAPHORE -- cgit v0.12