aboutsummaryrefslogtreecommitdiffstats
path: root/arch.h
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2017-05-13 22:07:02 +0200
committerGravatar Christian Hesse <mail@eworm.de>2017-05-13 22:08:04 +0200
commit38a079064afe1b2e55911e4c23ac8a76e2cf24be (patch)
tree05ca0588a2f97e5d948d497d41a2f49d0fda6477 /arch.h
parentf43e14906743c2940487494ad3f9925408e78cba (diff)
downloadpacredir-38a079064afe1b2e55911e4c23ac8a76e2cf24be.tar.gz
pacredir-38a079064afe1b2e55911e4c23ac8a76e2cf24be.tar.zst
use a smarter way to determine architecture
Diffstat (limited to 'arch.h')
-rw-r--r--arch.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/arch.h b/arch.h
deleted file mode 100644
index 57bced2..0000000
--- a/arch.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * (C) 2013-2017 by Christian Hesse <mail@eworm.de>
- *
- * This software may be used and distributed according to the terms
- * of the GNU General Public License, incorporated herein by reference.
- */
-
-#ifndef _ARCH_H
-#define _ARCH_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
-
-#endif /* _ARCH_H */
-
-// vim: set syntax=c: