diff --git a/atom/browser/ui/file_dialog_gtk.cc b/atom/browser/ui/file_dialog_gtk.cc index af08f8247f69..21cd14166500 100644 --- a/atom/browser/ui/file_dialog_gtk.cc +++ b/atom/browser/ui/file_dialog_gtk.cc @@ -8,6 +8,12 @@ #include #include +// This conflicts with mate::Converter, +#undef True +#undef False +// and V8. +#undef None + #include "atom/browser/native_window.h" #include "base/callback.h" #include "base/file_util.h" diff --git a/atom/browser/ui/views/global_menu_bar_x11.cc b/atom/browser/ui/views/global_menu_bar_x11.cc index 4b7338eab16c..fd6f80cdec28 100644 --- a/atom/browser/ui/views/global_menu_bar_x11.cc +++ b/atom/browser/ui/views/global_menu_bar_x11.cc @@ -6,6 +6,12 @@ #include +// This conflicts with mate::Converter, +#undef True +#undef False +// and V8. +#undef None + #include #include