Bug 484457 - Define Status int breaks OSX builds when including MachineExceptions.h. r=vlad

This commit is contained in:
Jeremy Huddleston 2009-04-20 18:36:37 +02:00
parent 552a482394
commit 4b5fed1619

View File

@ -63,6 +63,12 @@
#include <gdk/gdkx.h>
#include "gfxXlibSurface.h"
#include "cairo-xlib.h"
/* Undefine the Status from Xlib since it will conflict with system headers on OSX */
#if defined(__APPLE__) && defined(Status)
#undef Status
#endif
#endif /* MOZ_X11 */
#ifdef MOZ_DFB