#ifndef _MACHINE_ENDIAN_H
#define _MACHINE_ENDIAN_H
-#if defined (__ppc__)
-#include "ppc/endian.h"
-#elif defined (__i386__)
+#if defined (__i386__) || defined (__x86_64__)
#include "i386/endian.h"
+#elif defined (__arm__) || defined (__arm64__)
+#include "arm/endian.h"
#else
#error architecture not supported
#endif