X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxcbint.h;h=7c8f33140614240d9021482b0d09fb3f36c0540c;hb=6fb661f3ff2fca342b4ea76d5a583c5e4f53e076;hp=f3830f9313ec7a252584645d0e4d3b2e5e769756;hpb=e5458e477db95e1e064e46ca28245ecd51b5b524;p=free-sw%2Fxcb%2Flibxcb diff --git a/src/xcbint.h b/src/xcbint.h index f3830f9..7c8f331 100644 --- a/src/xcbint.h +++ b/src/xcbint.h @@ -32,6 +32,10 @@ #include "config.h" #endif +#ifdef GCC_HAS_VISIBILITY +#pragma GCC visibility push(hidden) +#endif + enum workarounds { WORKAROUND_NONE, WORKAROUND_GLX_GET_FB_CONFIGS_BUG @@ -154,4 +158,9 @@ struct XCBConnection { }; int _xcb_conn_wait(XCBConnection *c, const int should_write, pthread_cond_t *cond); + +#ifdef GCC_HAS_VISIBILITY +#pragma GCC visibility pop +#endif + #endif