]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/macros.h
Merge remote-tracking branch 'upstream/debian/sid' into debian/sid
[apt.git] / apt-pkg / contrib / macros.h
index d97053553544ae21f04235d0a57dbfc593be709a..2d6448e5e257fd7552abfebb415a877231885121 100644 (file)
 
 #if APT_GCC_VERSION >= 0x0400
        #define APT_SENTINEL    __attribute__((sentinel))
+       #define APT_PUBLIC __attribute__ ((visibility ("default")))
+       #define APT_HIDDEN __attribute__ ((visibility ("hidden")))
 #else
        #define APT_SENTINEL
+       #define APT_PUBLIC
+       #define APT_HIDDEN
 #endif
 
 // cold functions are unlikely() to be called