We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e442ec commit 24e6f3cCopy full SHA for 24e6f3c
Zend/zend_execute_API.c
@@ -50,6 +50,11 @@
50
# ifndef sigev_notify_thread_id
51
# define sigev_notify_thread_id _sigev_un._tid
52
# endif
53
+// Old versions of glibc miss gettid()
54
+# if __GLIBC__ == 2 && __GLIBC_MINOR__ < 30
55
+# include <sys/syscall.h>
56
+# define gettid() syscall(SYS_gettid)
57
+# endif
58
#endif
59
60
ZEND_API void (*zend_execute_ex)(zend_execute_data *execute_data);
0 commit comments