Skip to content

Commit

Permalink
chore(runtime-c-api) Update header files.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hywan committed Nov 14, 2019
1 parent 42b02be commit 987b076
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 24 deletions.
26 changes: 14 additions & 12 deletions lib/runtime-c-api/wasmer.h
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@

#if !defined(WASMER_H_MACROS)
#define WASMER_H_MACROS
#if defined(MSVC)
#if defined(_M_AMD64)
#define ARCH_X86_64
#endif
#endif

#if defined(GCC) || defined(__clang__)
#if defined(__x86_64__)
#define ARCH_X86_64
#endif
#endif
#define WASMER_H_MACROS

#if defined(MSVC)
#if defined(_M_AMD64)
#define ARCH_X86_64
#endif
#endif

#if defined(GCC) || defined(__clang__)
#if defined(__x86_64__)
#define ARCH_X86_64
#endif
#endif

#endif // WASMER_H_MACROS


#ifndef WASMER_H
#define WASMER_H
Expand Down
26 changes: 14 additions & 12 deletions lib/runtime-c-api/wasmer.hh
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@

#if !defined(WASMER_H_MACROS)
#define WASMER_H_MACROS
#if defined(MSVC)
#if defined(_M_AMD64)
#define ARCH_X86_64
#endif
#endif

#if defined(GCC) || defined(__clang__)
#if defined(__x86_64__)
#define ARCH_X86_64
#endif
#endif
#define WASMER_H_MACROS

#if defined(MSVC)
#if defined(_M_AMD64)
#define ARCH_X86_64
#endif
#endif

#if defined(GCC) || defined(__clang__)
#if defined(__x86_64__)
#define ARCH_X86_64
#endif
#endif

#endif // WASMER_H_MACROS


#ifndef WASMER_H
#define WASMER_H
Expand Down

0 comments on commit 987b076

Please sign in to comment.