summaryrefslogtreecommitdiffstats
path: root/Source/WebKit2/Shared/PrintInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit2/Shared/PrintInfo.h')
-rw-r--r--Source/WebKit2/Shared/PrintInfo.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/WebKit2/Shared/PrintInfo.h b/Source/WebKit2/Shared/PrintInfo.h
index d6ccd4a..502be93 100644
--- a/Source/WebKit2/Shared/PrintInfo.h
+++ b/Source/WebKit2/Shared/PrintInfo.h
@@ -28,9 +28,10 @@
#include <wtf/Platform.h>
-#ifdef __OBJC__
-@class NSPrintInfo;
+#if PLATFORM(MAC)
+OBJC_CLASS NSPrintInfo;
#else
+// FIXME: This should use the windows equivalent.
class NSPrintInfo;
#endif