$OpenBSD: patch-Foundation_include_Poco_Platform_h,v 1.1 2017/09/27 08:13:00 phessler Exp $

Index: Foundation/include/Poco/Platform.h
--- Foundation/include/Poco/Platform.h.orig
+++ Foundation/include/Poco/Platform.h
@@ -145,6 +145,7 @@
 #define POCO_ARCH_S390    0x0c
 #define POCO_ARCH_SH      0x0d
 #define POCO_ARCH_NIOS2   0x0e
+#define POCO_ARCH_AARCH64 0x0f
 
 
 #if defined(__ALPHA) || defined(__alpha) || defined(__alpha__) || defined(_M_ALPHA)
@@ -187,6 +188,9 @@
 	#else
 		#define POCO_ARCH_LITTLE_ENDIAN 1
 	#endif
+#elif defined(__AARCH64EL__)
+	#define POCO_ARCH POCO_ARCH_AARCH64
+	#define POCO_ARCH_LITTLE_ENDIAN 1
 #elif defined(__m68k__)
 	#define POCO_ARCH POCO_ARCH_M68K
 	#define POCO_ARCH_BIG_ENDIAN 1
