about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2023-09-05 19:27:29 +0200
committerGitHub <noreply@github.com>2023-09-05 19:27:29 +0200
commite9dee4eb5e8b8dc0b81e22598b754c8df29f1674 (patch)
tree3bed645753fff96dcfa94ba23ae93628833ec111
parent2b8366aaa88679609ae56e738ebf9e2f47aa53fc (diff)
parent70052a053a5d442c7bdcb7abd961822782bcfd00 (diff)
downloadmiasm-e9dee4eb5e8b8dc0b81e22598b754c8df29f1674.tar.gz
miasm-e9dee4eb5e8b8dc0b81e22598b754c8df29f1674.zip
Merge pull request #1453 from frank2/cygwin-fix
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__)