]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/macros.h
Compare size before data when ordering cache bucket entries
[apt.git] / apt-pkg / contrib / macros.h
index 68406f4d8e19a4774b46610cac1056cff8e179ac..bc1f523ea63ab7709371216547c641503f8a568d 100644 (file)
@@ -77,6 +77,7 @@
        #define APT_PURE        __attribute__((pure))
        #define APT_NORETURN    __attribute__((noreturn))
        #define APT_PRINTF(n)   __attribute__((format(printf, n, n + 1)))
+       #define APT_WEAK        __attribute__((weak));
 #else
        #define APT_DEPRECATED
        #define APT_DEPRECATED_MSG
@@ -84,6 +85,7 @@
        #define APT_PURE
        #define APT_NORETURN
        #define APT_PRINTF(n)
+       #define APT_WEAK
 #endif
 
 #if APT_GCC_VERSION > 0x0302
 // See also buildlib/libversion.mak
 #define APT_PKG_MAJOR 5
 #define APT_PKG_MINOR 0
-#define APT_PKG_RELEASE 0
+#define APT_PKG_RELEASE 1
 #define APT_PKG_ABI ((APT_PKG_MAJOR * 100) + APT_PKG_MINOR)
 
 #endif