X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b64c979322a661a3fdb3b187aeac9e21bf725ac9..404f1d80d8211110151f5e89591805ee5e0dc555:/src/motif/glcanvas.cpp diff --git a/src/motif/glcanvas.cpp b/src/motif/glcanvas.cpp index 48ce77e6de..65f2f0526c 100644 --- a/src/motif/glcanvas.cpp +++ b/src/motif/glcanvas.cpp @@ -10,7 +10,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "glcanvas.h" #endif @@ -21,6 +21,7 @@ #include "wx/glcanvas.h" #include "wx/utils.h" #include "wx/app.h" +#include "wx/log.h" #ifdef __VMS # pragma message disable nosimpint @@ -31,6 +32,10 @@ #endif #include "wx/motif/private.h" +// DLL options compatibility check: +#include "wx/build.h" +WX_CHECK_BUILD_OPTIONS("wxGL") + #ifdef OLD_MESA // workaround for bug in Mesa's glx.c static int bitcount( unsigned long n )