summaryrefslogtreecommitdiffstats
path: root/JavaScriptCore/wtf/gobject/GRefPtr.h
diff options
context:
space:
mode:
Diffstat (limited to 'JavaScriptCore/wtf/gobject/GRefPtr.h')
-rw-r--r--JavaScriptCore/wtf/gobject/GRefPtr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/JavaScriptCore/wtf/gobject/GRefPtr.h b/JavaScriptCore/wtf/gobject/GRefPtr.h
index ede0a7a..4efd9be 100644
--- a/JavaScriptCore/wtf/gobject/GRefPtr.h
+++ b/JavaScriptCore/wtf/gobject/GRefPtr.h
@@ -23,6 +23,8 @@
#ifndef WTF_GRefPtr_h
#define WTF_GRefPtr_h
+#if ENABLE(GLIB_SUPPORT)
+
#include "AlwaysInline.h"
#include "PlatformRefPtr.h"
#include <algorithm>
@@ -54,4 +56,6 @@ template <typename T> inline void derefPlatformPtr(T* ptr)
} // namespace WTF
+#endif // ENABLE(GLIB_SUPPORT)
+
#endif // WTF_GRefPtr_h