]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/macros.h
give a descriptive error for pipe tries with 'false'
[apt.git] / apt-pkg / contrib / macros.h
index 68406f4d8e19a4774b46610cac1056cff8e179ac..2727fd81fb668f371831e4df56e819b6a498c198 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