]> git.notmuchmail.org Git - notmuch/blobdiff - lib/notmuch.h
build: switch to hiding libnotmuch symbols by default
[notmuch] / lib / notmuch.h
index d374dc960fe67b4ccc1b096dc41c240d0779d808..e17454442333c80b459c0e3073b766c3fec6888e 100644 (file)
@@ -43,6 +43,8 @@ NOTMUCH_BEGIN_DECLS
 
 #include <time.h>
 
+#pragma GCC visibility push(default)
+
 #ifndef FALSE
 #define FALSE 0
 #endif
@@ -2120,6 +2122,8 @@ notmuch_bool_t
 notmuch_built_with (const char *name);
 /* @} */
 
+#pragma GCC visibility pop
+
 NOTMUCH_END_DECLS
 
 #endif