Skip to content

Commit

Permalink
Fix ZTS defination
Browse files Browse the repository at this point in the history
  • Loading branch information
dixyes committed Dec 13, 2023
1 parent d013e64 commit b9de132
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/src/swow_siritz.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "swow_closure.h"
#include "swow_hook.h"

#ifdef PHP_ZTS
#ifdef ZTS

#if !defined(HAVE_PTHREAD_TIMEDJOIN_NP) && !defined(CAT_OS_WIN)
// from https://stackoverflow.com/a/11552244
Expand Down Expand Up @@ -471,4 +471,4 @@ zend_result swow_siritz_module_shutdown(INIT_FUNC_ARGS)
return SUCCESS;
}

#endif
#endif // ZTS

0 comments on commit b9de132

Please sign in to comment.