replace -DWASM with compiler internal __EMSCRIPTEN__
This commit is contained in:
@@ -1218,17 +1218,17 @@ do_date()
|
||||
#endif
|
||||
Fprintf(ofp, "#define VERSION_SANITY1 0x%08lx%s\n", version.entity_count,
|
||||
ul_sfx);
|
||||
#ifndef WASM
|
||||
#ifndef __EMSCRIPTEN__
|
||||
Fprintf(ofp, "#define VERSION_SANITY2 0x%08lx%s\n", version.struct_sizes1,
|
||||
ul_sfx);
|
||||
Fprintf(ofp, "#define VERSION_SANITY3 0x%08lx%s\n", version.struct_sizes2,
|
||||
ul_sfx);
|
||||
#else /* WASM */
|
||||
#else /* __EMSCRIPTEN__ */
|
||||
Fprintf(ofp, "#define VERSION_SANITY2 0x%08llx%s\n", version.struct_sizes1,
|
||||
ul_sfx);
|
||||
Fprintf(ofp, "#define VERSION_SANITY3 0x%08llx%s\n", version.struct_sizes2,
|
||||
ul_sfx);
|
||||
#endif /* !WASM */
|
||||
#endif /* !__EMSCRIPTEN__ */
|
||||
|
||||
Fprintf(ofp, "\n");
|
||||
Fprintf(ofp, "#define VERSION_STRING \"%s\"\n", version_string(buf, "."));
|
||||
|
||||
Reference in New Issue
Block a user