X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=src%2Ftypes%2Fnumber.c;h=aeaf38627a2203637fda0ff7fbbd2f22824c49ce;hb=d2e0af1718294569a84c3c15616c74e4d55ea579;hp=10505dfe8988169b229b71de1f509d415e202038;hpb=fb8f7887c289ae74d6e8dd85d55ae09e6796e890;p=m6w6%2Fext-psi diff --git a/src/types/number.c b/src/types/number.c index 10505df..aeaf386 100644 --- a/src/types/number.c +++ b/src/types/number.c @@ -23,7 +23,11 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *******************************************************************************/ -#include "php_psi_stdinc.h" +#ifdef HAVE_CONFIG_H +# include "config.h" +#else +# include "php_config.h" +#endif #include #include @@ -675,7 +679,6 @@ bool psi_number_validate(struct psi_data *data, struct psi_number *exp, case PSI_T_DEFINE: if (scope && scope->cpp && zend_hash_exists(&scope->cpp->defs, exp->data.numb)) { - define: ; if (!scope->macro || !zend_string_equals(scope->macro->token->text, exp->data.numb)) { return true; }