diff --git a/VERSION_NUMBER b/VERSION_NUMBER index 1c81ce90bc7e62700e6c4d6017c0f3a70793dc45..19bee3c9506995828c8bd9e61aff1cb218ebbc90 100644 --- a/VERSION_NUMBER +++ b/VERSION_NUMBER @@ -1 +1 @@ -1.14.1rc1 +1.14.1rc2 diff --git a/onnx/checker.cc b/onnx/checker.cc index 9888f3ea06fe057a308d2bafae6f2340cffce80a..37d6abd30058e9e3e3cd8b4bdb41a984bddc8935 100644 --- a/onnx/checker.cc +++ b/onnx/checker.cc @@ -184,7 +184,7 @@ void check_tensor(const TensorProto& tensor, const CheckerContext& ctx) { } std::string data_path = path_join(ctx.get_model_dir(), relative_path); // use stat64 to check whether the file exists -#ifdef __APPLE__ +#if defined(__APPLE__) || defined(__wasm__) struct stat buffer; // APPLE does not have stat64 if (stat((data_path).c_str(), &buffer) != 0) { #else