about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorfrank2 <frank2@dc949.org>2023-07-07 21:53:32 -0700
committerfrank2 <frank2@dc949.org>2023-07-07 21:53:32 -0700
commit70052a053a5d442c7bdcb7abd961822782bcfd00 (patch)
tree5f9ce861892bea02c8d1eee7d48280afd773661b
parent00d4fd4b9e68fa744ed57b31044c5cf53f85293a (diff)
downloadfocaccia-miasm-70052a053a5d442c7bdcb7abd961822782bcfd00.tar.gz
focaccia-miasm-70052a053a5d442c7bdcb7abd961822782bcfd00.zip
fix compilation on cygwin
-rw-r--r--miasm/runtime/int_lib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm/runtime/int_lib.h b/miasm/runtime/int_lib.h
index 7f5eb799..873296d4 100644
--- a/miasm/runtime/int_lib.h
+++ b/miasm/runtime/int_lib.h
@@ -48,7 +48,7 @@
 #define XSTR(a) STR(a)
 #define SYMBOL_NAME(name) XSTR(__USER_LABEL_PREFIX__) #name
 
-#if defined(__ELF__) || defined(__MINGW32__) || defined(__wasm__)
+#if defined(__ELF__) || defined(__MINGW32__) || defined(__CYGWIN__) || defined(__wasm__)
 #define COMPILER_RT_ALIAS(name, aliasname) \
   COMPILER_RT_ABI __typeof(name) aliasname __attribute__((__alias__(#name)));
 #elif defined(__APPLE__)