Skip to content

Commit

Permalink
Add include
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoettgens committed Oct 24, 2024
1 parent 1dbf10e commit 4207a1b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/weakptr.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@
#ifdef USE_JULIA_GC
#include "julia.h"
#include "julia_gc.h"
#include <julia_threads.h> // for jl_get_ptls_states

#if JULIA_VERSION_MAJOR == 1 && JULIA_VERSION_MINOR == 7
// workaround issue with Julia 1.7 headers which "forgot" to export this
// function
JL_DLLEXPORT void * jl_get_ptls_states(void);
#endif
#endif

#define RequireWPObj(funcname, op) \
Expand Down

0 comments on commit 4207a1b

Please sign in to comment.