Skip to content

Fix linker failure when building opcache statically #18939

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
Add include guard
  • Loading branch information
arnaud-lb committed Jun 30, 2025
commit 70683ae6cb5e18a88cb7ba12c3b90889a4278b61
5 changes: 5 additions & 0 deletions ext/opcache/jit/tls/zend_jit_tls.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
* +----------------------------------------------------------------------+
*/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No include guard?


#ifndef ZEND_JIT_TLS_H
#define ZEND_JIT_TLS_H

#include "Zend/zend_types.h"

#include <stdint.h>
Expand All @@ -33,3 +36,5 @@ void *zend_jit_tsrm_ls_cache_address(
size_t module_index,
size_t module_offset
);

#endif /* ZEND_JIT_TLS_H */