mirror of
https://github.com/electron/electron.git
synced 2026-01-25 07:18:18 -05:00
Fix symbol conflicts in Xlib.h
This commit is contained in:
@@ -4,20 +4,20 @@
|
||||
|
||||
#include "atom/browser/ui/views/global_menu_bar_x11.h"
|
||||
|
||||
// There are conflicts between Xlib.h and this header.
|
||||
#include "atom/browser/native_window_views.h" // NOLINT
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
|
||||
// This conflicts with mate::Converter,
|
||||
#undef True
|
||||
#undef False
|
||||
// and V8.
|
||||
// and V8,
|
||||
#undef None
|
||||
// and url_request_status.h,
|
||||
#undef Status
|
||||
|
||||
#include <dlfcn.h>
|
||||
#include <glib-object.h>
|
||||
|
||||
#include "atom/browser/native_window_views.h"
|
||||
#include "atom/browser/ui/atom_menu_model.h"
|
||||
#include "base/logging.h"
|
||||
#include "base/strings/stringprintf.h"
|
||||
|
||||
Reference in New Issue
Block a user