diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/apk_defines.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/apk_defines.h b/src/apk_defines.h index 9cacf13..e7fe34c 100644 --- a/src/apk_defines.h +++ b/src/apk_defines.h @@ -142,6 +142,12 @@ static inline int IS_ERR(const void *ptr) { return (unsigned long)ptr >= (unsign #error APK_DEFAULT_ARCH not detected for this architecture #endif +#ifndef APK_ABI_TAG +#define APK_DEFAULT_ABI_TAG APK_DEFAULT_ARCH +#else +#define APK_DEFAULT_ABI_TAG APK_ABI_TAG "-" APK_DEFAULT_ARCH +#endif + #define APK_MAX_REPOS 32 /* see struct apk_package */ #define APK_MAX_TAGS 16 /* see solver; unsigned short */ #define APK_CACHE_CSUM_BYTES 4 |