Skip to content

Commit a9e8695

Browse files
committed
fix zts build on mac/clang
1 parent e5eb953 commit a9e8695

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

TSRM/TSRM.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ void tsrm_error_set(int level, char *debug_filename)
795795
#endif
796796
}
797797

798-
TSRM_API inline void *tsrm_get_ls_cache(void)
798+
TSRM_API void *tsrm_get_ls_cache(void)
799799
{
800800
return tsrm_tls_get();
801801
}

TSRM/TSRM.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ TSRM_API void *tsrm_new_interpreter_context(void);
155155
TSRM_API void *tsrm_set_interpreter_context(void *new_ctx);
156156
TSRM_API void tsrm_free_interpreter_context(void *context);
157157

158-
TSRM_API inline void *tsrm_get_ls_cache(void);
158+
TSRM_API void *tsrm_get_ls_cache(void);
159159

160160
#ifdef TSRM_WIN32
161161
# define TSRM_TLS __declspec(thread)

0 commit comments

Comments
 (0)