projects
/
m6w6
/
ext-psi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
|
inline
| side by side (parent:
4368a44
)
we need the typedef also for release builds
author
Michael Wallner
<mike@php.net>
Mon, 6 Feb 2017 12:08:06 +0000
(13:08 +0100)
committer
Michael Wallner
<mike@php.net>
Mon, 6 Feb 2017 12:08:06 +0000
(13:08 +0100)
m4/psi/psi_type.m4
patch
|
blob
|
history
diff --git
a/m4/psi/psi_type.m4
b/m4/psi/psi_type.m4
index 502c48ad0058c8f62a904146482082d7e765f5ec..27aeeaccf76e95603a96c9987dc4c81aa25389c8 100644
(file)
--- 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])
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)
])
dnl PSI_VAR_TYPE(decl arg)