mirror of
https://github.com/fluencelabs/wasmer
synced 2025-03-16 16:20:49 +00:00
Merge #987
987: Fix runtime c api header preprocessor gcc r=syrusakbary a=Hywan `ARCH_X86_64` is correctly defined for GCC or clang, but gnuc was missing. This patch fixes that. Address https://github.com/wasmerio/php-ext-wasm/issues/93 Fix https://github.com/wasmerio/wasmer/issues/984 Co-authored-by: Ivan Enderlin <ivan.enderlin@hoa-project.net>
This commit is contained in:
commit
6831a6d8c9
@ -2,6 +2,8 @@
|
||||
|
||||
## **[Unreleased]**
|
||||
|
||||
- [#987](https://github.com/wasmerio/wasmer/pull/987) Fix `runtime-c-api` header files when compiled by gnuc.
|
||||
|
||||
## 0.10.2 - 2019-11-18
|
||||
|
||||
- [#968](https://github.com/wasmerio/wasmer/pull/968) Added `--invoke` option to the command
|
||||
|
@ -22,7 +22,7 @@ fn main() {
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(GCC) || defined(__clang__)
|
||||
#if defined(GCC) || defined(__GNUC__) || defined(__clang__)
|
||||
#if defined(__x86_64__)
|
||||
#define ARCH_X86_64
|
||||
#endif
|
||||
|
@ -8,7 +8,7 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(GCC) || defined(__clang__)
|
||||
#if defined(GCC) || defined(__GNUC__) || defined(__clang__)
|
||||
#if defined(__x86_64__)
|
||||
#define ARCH_X86_64
|
||||
#endif
|
||||
|
@ -8,7 +8,7 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined(GCC) || defined(__clang__)
|
||||
#if defined(GCC) || defined(__GNUC__) || defined(__clang__)
|
||||
#if defined(__x86_64__)
|
||||
#define ARCH_X86_64
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user