mirror of
https://github.com/php/php-fuzzing-sapi.git
synced 2026-03-24 01:02:16 +01:00
master branch removes all TSRMLS_* macros, add compat layer to support that
This commit is contained in:
6
compat.h
Normal file
6
compat.h
Normal file
@@ -0,0 +1,6 @@
|
||||
#ifndef TSRMLS_C
|
||||
#define TSRMLS_C
|
||||
#define TSRMLS_CC
|
||||
#define TSRMLS_DC
|
||||
#define TSRMLS_FETCH()
|
||||
#endif
|
||||
@@ -30,6 +30,7 @@
|
||||
#include "fuzzer.h"
|
||||
|
||||
#include "fuzzer-sapi.h"
|
||||
#include "compat.h"
|
||||
|
||||
int fuzzer_do_parse(zend_file_handle *file_handle, char *filename)
|
||||
{
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
|
||||
#include "fuzzer.h"
|
||||
#include "fuzzer-sapi.h"
|
||||
#include "compat.h"
|
||||
|
||||
const char HARDCODED_INI[] =
|
||||
"html_errors=0\n"
|
||||
|
||||
Reference in New Issue
Block a user