--- base/mime_util.h +++ base/mime_util.h @@ -20,7 +20,7 @@ std::string GetFileMimeType(const FilePath& filepath); // Get the mime type for a byte vector. std::string GetDataMimeType(const std::string& data); -#if defined(OS_LINUX) +#if defined(USE_X11) // This detects the current GTK theme by calling gtk_settings_get_default(). // It should only be executed on the UI thread and must be called before // GetMimeIcon(). diff --git base/native_library.h base/native_library.h index dc4000b..20fc47e 100644