From: Michael Wallner Date: Mon, 6 Feb 2017 12:08:06 +0000 (+0100) Subject: we need the typedef also for release builds X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=commitdiff_plain;h=a08e0f4ca01c73697e032f26c0c4a007878650b1 we need the typedef also for release builds --- diff --git a/m4/psi/psi_type.m4 b/m4/psi/psi_type.m4 index 502c48a..27aeeac 100644 --- a/m4/psi/psi_type.m4 +++ b/m4/psi/psi_type.m4 @@ -135,12 +135,10 @@ AC_DEFUN(PSI_FUNCTOR_TYPE, [ dnl psi_add_type "{PSI_T_POINTER, \"void\", \"PSI_VAR_NAME($1)\"}" AS_TR_SH([ac_cv_sizeof_]PSI_VAR_NAME($1))=PSI_SH_SIZEOF(void *) PSI_DECL_TYPE([$1], [$2]) - if test "$PHP_DEBUG" = "1"; then - AC_CHECK_TYPE(PSI_VAR_NAME($1), [], [ - psi_add_macro ["#undef ]PSI_VAR_NAME($1)["] - psi_add_macro ["typedef ]PSI_VAR_TYPE($1)[ (*]PSI_VAR_NAME($1)[)]$2;" - ]) - fi + AC_CHECK_TYPE(PSI_VAR_NAME($1), [], [ + psi_add_macro ["#undef ]PSI_VAR_NAME($1)["] + psi_add_macro ["typedef ]PSI_VAR_TYPE($1)[ (*]PSI_VAR_NAME($1)[)]$2;" + ]) ]) dnl PSI_VAR_TYPE(decl arg)