mirror of
https://github.com/fluencelabs/wasmer
synced 2025-04-01 23:41:03 +00:00
fix(runtime-c-api) Add support for GNUC when defining ARCH_X86_64
.
`ARCH_X86_64` is correctly defined for GCC or clang, but gnuc was missing. This patch fixes that.
This commit is contained in:
parent
8efa8e299c
commit
dfe7c0d764
@ -22,7 +22,7 @@ fn main() {
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(GCC) || defined(__clang__)
|
#if defined(GCC) || defined(__GNUC__) || defined(__clang__)
|
||||||
#if defined(__x86_64__)
|
#if defined(__x86_64__)
|
||||||
#define ARCH_X86_64
|
#define ARCH_X86_64
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user