Skip to content

Commit

Permalink
fix(utils): fix the compilation error on FreeBSD caused by the undefi…
Browse files Browse the repository at this point in the history
…ned __nonnull
  • Loading branch information
Water-Melon committed Aug 12, 2024
1 parent 3784ae3 commit 62056f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/mln_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
/*
* nonnull attribute
*/
#if defined(__APPLE__) || defined(MSVC) || defined(__wasm__)
#if defined(__APPLE__) || defined(MSVC) || defined(__wasm__) || defined(__FreeBSD__)
#define __NONNULL1(x)
#define __NONNULL2(x,y)
#define __NONNULL3(x,y,z)
Expand Down

0 comments on commit 62056f0

Please sign in to comment.