Undef Status symbol to address conflict between X11 and protobuf

This commit is contained in:
Alfonso Sánchez-Beato 2017-08-23 11:06:34 +02:00
commit 8ae09e81e0

View file

@ -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 {