Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
matyhtf committed Apr 23, 2024
1 parent 2589cfc commit 5cc516b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ext-src/swoole_thread_lock.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
#include "swoole_memory.h"
#include "swoole_lock.h"

#ifdef SW_THREAD

BEGIN_EXTERN_C()
#include "stubs/php_swoole_thread_lock_arginfo.h"
END_EXTERN_C()
Expand Down Expand Up @@ -228,3 +230,5 @@ static PHP_METHOD(swoole_thread_lock, __wakeup) {
return;
}
}

#endif

0 comments on commit 5cc516b

Please sign in to comment.