Skip to content

Commit

Permalink
tests : update test-vec0.c for mingw (ggerganov#619)
Browse files Browse the repository at this point in the history
For correct building under mingw64
  • Loading branch information
magicse authored Nov 23, 2023
1 parent 9d2d59a commit a5e4560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test-vec0.c
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ void mul_mat_vec_f32_2(
}
}

#if defined(_MSC_VER)
#if defined(_MSC_VER) || defined(__MINGW32__) || defined(__MINGW64__)
void* aligned_alloc(size_t alignment, size_t size) {
return _aligned_malloc(size, alignment);
}
Expand Down

0 comments on commit a5e4560

Please sign in to comment.