mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-03 03:58:54 +00:00
Update onnxruntime_c_api.h to work with MinGW (#23169)
The SAL2 macros are not always available there ### Description Make SAL2 macros only available on MSVC. ### Motivation and Context https://github.com/microsoft/onnxruntime/issues/1175
This commit is contained in:
parent
69bb53db85
commit
2116fd1999
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ extern "C" {
|
|||
|
||||
//! @}
|
||||
// SAL2 Definitions
|
||||
#ifndef _WIN32
|
||||
#ifndef _MSC_VER
|
||||
#define _In_
|
||||
#define _In_z_
|
||||
#define _In_opt_
|
||||
|
|
|
|||
Loading…
Reference in a new issue