Index: ui/base/dragdrop/os_exchange_data.h |
diff --git a/ui/base/dragdrop/os_exchange_data.h b/ui/base/dragdrop/os_exchange_data.h |
index 7de4e57c00a1a45f42f53b8ccb2e633298844880..9888b3f8510d0d617e2001c36f618f11c06c7638 100644 |
--- a/ui/base/dragdrop/os_exchange_data.h |
+++ b/ui/base/dragdrop/os_exchange_data.h |
@@ -13,7 +13,7 @@ |
#if defined(OS_WIN) |
#include <objidl.h> |
-#elif !defined(OS_MACOSX) |
+#elif defined(TOOLKIT_USES_GTK) |
#include <gtk/gtk.h> |
#endif |
@@ -48,8 +48,10 @@ class UI_EXPORT OSExchangeData { |
// nodes are written using a CustomFormat. |
#if defined(OS_WIN) |
typedef CLIPFORMAT CustomFormat; |
-#elif !defined(OS_MACOSX) |
+#elif defined(TOOLKIT_USES_GTK) |
typedef GdkAtom CustomFormat; |
+#else |
+ typedef void* CustomFormat; |
#endif |
// Enumeration of the known formats. |