summaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-01-03 07:58:01 +0100
committerGravatar Christian Hesse <mail@eworm.de>2014-01-03 07:58:01 +0100
commitc9f687e0c16a7f6ea6471f69b6be8cb2f0a3268d (patch)
tree105ccf66173270f2a2bb09636a5fdccd085f04b3 /config.def.h
parent0f7b07e716648bd563b71d58584273d3ced0c987 (diff)
downloadpaccache-c9f687e0c16a7f6ea6471f69b6be8cb2f0a3268d.tar.gz
paccache-c9f687e0c16a7f6ea6471f69b6be8cb2f0a3268d.tar.zst
move arch specific macros to separate header file
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/config.def.h b/config.def.h
index 12a2728..ce0c142 100644
--- a/config.def.h
+++ b/config.def.h
@@ -8,23 +8,6 @@
#ifndef _CONFIG_H
#define _CONFIG_H
-/* the binary needs to know its own architecture */
-#if defined __x86_64__
-# define ARCH "x86_64"
-#elif defined __i386__
-# define ARCH "i686"
-#elif defined __ARM_ARCH_7__
-# define ARCH "armv7h"
-#elif defined __ARM_ARCH_6__
-# if defined __VFP_FP__
-# define ARCH "armv6h"
-# else
-# define ARCH "arm"
-# endif
-#else
-# error Unknown architecture!
-#endif
-
/* This is used for default documents. Usually you will not see this anyway. */
#define PAGE307 "<html><head><title>307 temporary redirect</title>" \
"</head><body>307 temporary redirect: " \