ir/ir_php.h
Dmitry Stogov c3e6a71dda Allow using external __jit_debug_register_code().
Fuinction defined in DSO may work improperly.
2022-09-29 01:28:30 +03:00

22 lines
327 B
C

#ifndef IR_PHP_H
#define IR_PHP_H
#define IR_PHP_OPS(_)
#ifndef IR_PHP_MM
# define IR_PHP_MM 1
#endif
#if IR_PHP_MM
# include "zend.h"
# define ir_mem_malloc emalloc
# define ir_mem_calloc ecalloc
# define ir_mem_realloc erealloc
# define ir_mem_free efree
#endif
#define IR_EXTERNAL_GDB_ENTRY
#endif /* IR_PHP_H */