mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-21 20:51:32 +00:00
fix(runtime-c-api) Write macros at column 0.
This commit is contained in:
@ -15,6 +15,7 @@ fn main() {
|
|||||||
const WASMER_PRE_HEADER: &str = r#"
|
const WASMER_PRE_HEADER: &str = r#"
|
||||||
#if !defined(WASMER_H_MACROS)
|
#if !defined(WASMER_H_MACROS)
|
||||||
#define WASMER_H_MACROS
|
#define WASMER_H_MACROS
|
||||||
|
|
||||||
#if defined(MSVC)
|
#if defined(MSVC)
|
||||||
#if defined(_M_AMD64)
|
#if defined(_M_AMD64)
|
||||||
#define ARCH_X86_64
|
#define ARCH_X86_64
|
||||||
@ -26,7 +27,8 @@ fn main() {
|
|||||||
#define ARCH_X86_64
|
#define ARCH_X86_64
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
#endif // WASMER_H_MACROS
|
||||||
"#;
|
"#;
|
||||||
// Generate the C bindings in the `OUT_DIR`.
|
// Generate the C bindings in the `OUT_DIR`.
|
||||||
out_wasmer_header_file.set_extension("h");
|
out_wasmer_header_file.set_extension("h");
|
||||||
|
Reference in New Issue
Block a user