Skip to content

Commit

Permalink
FreeBSD has alloca in stdlib.h.
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfpld committed May 23, 2023
1 parent eca841d commit 4e1b198
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/TracyWorker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

#ifdef _WIN32
# include <malloc.h>
#elif defined __FreeBSD__
# include <stdlib.h>
#else
# include <alloca.h>
#endif
Expand Down

0 comments on commit 4e1b198

Please sign in to comment.