X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/67a26a1a0beb7399668ab8c76bb814d65e8307e8..404f1d80d8211110151f5e89591805ee5e0dc555:/src/motif/glcanvas.cpp diff --git a/src/motif/glcanvas.cpp b/src/motif/glcanvas.cpp index 8a84a0ec96..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 @@ -32,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 )