Skip to content

Commit 5e05729

Browse files
authored
Update onnxruntime_c_api.h to work with MinGW (#24006)
### Description Same as #23169 ### Motivation and Context Same as #23169
1 parent 06482c2 commit 5e05729

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/onnxruntime/core/session/onnxruntime_c_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ ORT_RUNTIME_CLASS(Node);
310310
ORT_RUNTIME_CLASS(Graph);
311311
ORT_RUNTIME_CLASS(Model);
312312

313-
#ifdef _WIN32
313+
#ifdef _MSC_VER
314314
typedef _Return_type_success_(return == 0) OrtStatus* OrtStatusPtr;
315315
#else
316316
typedef OrtStatus* OrtStatusPtr;

0 commit comments

Comments
 (0)