diff --git a/src/libstrongswan/plugins/aes/aes_crypter.c b/src/libstrongswan/plugins/aes/aes_crypter.c
index 37954d9df..7ba249faa 100644
--- a/src/libstrongswan/plugins/aes/aes_crypter.c
+++ b/src/libstrongswan/plugins/aes/aes_crypter.c
@@ -105,6 +105,9 @@ struct private_aes_crypter_t {
 /* added (tested): ia64  --jjo */
 #elif defined(__ia64__)|| defined (__ia64)
 #define AES_LE_OK 1
+/* added (tested): sw_64  --jjo */
+#elif defined(__sw_64__)|| defined (__sw_64)
+#define AES_LE_OK 1
 #endif
 
 #ifdef AES_LE_OK
