Undef Status symbol to address conflict between X11 and protobuf
This commit is contained in:
parent
a5ead0f075
commit
8ae09e81e0
1 changed files with 4 additions and 0 deletions
|
|
@ -25,6 +25,10 @@
|
|||
#include <string.h>
|
||||
#include <X11/Xlib.h>
|
||||
#include <GL/glx.h>
|
||||
#if defined(Status)
|
||||
// undef to address conflict between X11 symbol and protobuf
|
||||
#undef Status
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue