aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cipher/asm-common-aarch64.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/cipher/asm-common-aarch64.h b/cipher/asm-common-aarch64.h
index 8e8bf8e7..3a72d7c4 100644
--- a/cipher/asm-common-aarch64.h
+++ b/cipher/asm-common-aarch64.h
@@ -29,7 +29,11 @@
# define ELF(...) /*_*/
#endif
-#define SECTION_RODATA .section .rodata
+#ifdef _WIN32
+# define SECTION_RODATA .section .rdata
+#else
+# define SECTION_RODATA .section .rodata
+#endif
#ifdef __APPLE__
#define GET_DATA_POINTER(reg, name) \