Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
snnn committed Jan 24, 2024
1 parent 8151506 commit 9a3e1d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ JNIEXPORT void JNICALL Java_ai_onnxruntime_OrtSession_00024SessionOptions_closeC

// Iterate the handles, calling the appropriate close function
for (jint i = 0; i < numHandles; i++) {
#ifdef WIN32
#ifdef _WIN32
FreeLibrary((void*)handles[i]);
#else
dlclose((void*)handles[i]);
Expand Down
2 changes: 1 addition & 1 deletion onnxruntime/core/mlas/lib/amx_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Module Name:

#include "mlasi.h"

#ifdef WIN32
#ifdef _WIN32
#define tile_dpbssd(dst, src1, src2) _tile_dpbssd(dst, src1, src2)

#define tile_dpbsud(dst, src1, src2) _tile_dpbsud(dst, src1, src2)
Expand Down

0 comments on commit 9a3e1d5

Please sign in to comment.