summaryrefslogtreecommitdiff
path: root/Source/WTF/wtf/AutodrainedPool.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WTF/wtf/AutodrainedPool.h')
-rw-r--r--Source/WTF/wtf/AutodrainedPool.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/WTF/wtf/AutodrainedPool.h b/Source/WTF/wtf/AutodrainedPool.h
index 2448eea11..6c74ccaeb 100644
--- a/Source/WTF/wtf/AutodrainedPool.h
+++ b/Source/WTF/wtf/AutodrainedPool.h
@@ -31,7 +31,11 @@
#include <wtf/Noncopyable.h>
+#ifdef Q_FORWARD_DECLARE_OBJC_CLASS
+Q_FORWARD_DECLARE_OBJC_CLASS(NSAutoreleasePool);
+#else
OBJC_CLASS NSAutoreleasePool;
+#endif
namespace WTF {