Avoid redefining WASMMemoryType (#3602)

This commit is contained in:
Benbuck Nason
2024-07-09 19:05:47 -07:00
committed by GitHub
parent 0feae05379
commit 8aba85825c
2 changed files with 8 additions and 1 deletions

View File

@ -81,8 +81,11 @@ typedef struct WASMTableType *wasm_table_type_t;
struct WASMGlobalType;
typedef struct WASMGlobalType *wasm_global_type_t;
#ifndef WASM_MEMORY_T_DEFINED
#define WASM_MEMORY_T_DEFINED
struct WASMMemory;
typedef struct WASMMemory WASMMemoryType;
#endif
typedef WASMMemoryType *wasm_memory_type_t;
typedef struct wasm_import_t {