summaryrefslogtreecommitdiff
path: root/src/database.c
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-07-16 04:28:41 -0500
committerWilliam Pitcock <nenolod@dereferenced.org>2011-07-16 04:28:41 -0500
commit37a682e5606d1214f0209180d2a6e6b682382989 (patch)
treea3a936b811fc600cfd694991ffcffe7c8630fd43 /src/database.c
parent1c54d1361455e6788a9556ad820de676b4512817 (diff)
downloadapk-tools-37a682e5606d1214f0209180d2a6e6b682382989.tar.gz
apk-tools-37a682e5606d1214f0209180d2a6e6b682382989.tar.bz2
apk-tools-37a682e5606d1214f0209180d2a6e6b682382989.tar.xz
apk-tools-37a682e5606d1214f0209180d2a6e6b682382989.zip
apk_database: move APK_DEFAULT_ARCH to headers so that we can use it in version().
Diffstat (limited to 'src/database.c')
-rw-r--r--src/database.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/database.c b/src/database.c
index 9a977f4..ade8a90 100644
--- a/src/database.c
+++ b/src/database.c
@@ -34,14 +34,6 @@
#include "apk_archive.h"
#include "apk_print.h"
-#if defined(__x86_64__)
-#define APK_DEFAULT_ARCH "x86_64"
-#elif defined(__i386__)
-#define APK_DEFAULT_ARCH "x86"
-#else
-#define APK_DEFAULT_ARCH "noarch"
-#endif
-
enum {
APK_DISALLOW_RMDIR = 0,
APK_ALLOW_RMDIR = 1