diff --git a/Setup.hs b/Setup.hs
deleted file mode 100644
--- a/Setup.hs
+++ /dev/null
@@ -1,2 +0,0 @@
-import Distribution.Simple
-main = defaultMain
diff --git a/cbits/text.c b/cbits/text.c
--- a/cbits/text.c
+++ b/cbits/text.c
@@ -85,7 +85,7 @@
 
   return dest;
 }
-#elif defined(__i386__)
+#elif defined(__i386__) || defined(__arm64__)
 {
 
   src += src_offset;
@@ -185,7 +185,7 @@
 
   return size;
 }
-#elif defined(__i386__)
+#elif defined(__i386__) || defined(__arm64__  )
 {
   src_ptr += src_off;
 
diff --git a/ptr-poker.cabal b/ptr-poker.cabal
--- a/ptr-poker.cabal
+++ b/ptr-poker.cabal
@@ -1,5 +1,5 @@
 name: ptr-poker
-version: 0.1.2.4
+version: 0.1.2.5
 synopsis: Pointer poking action construction and composition toolkit
 homepage: https://github.com/nikita-volkov/ptr-poker
 bug-reports: https://github.com/nikita-volkov/ptr-poker/issues
