X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Flibffi_compat.h;h=4394531f305afa71102321b2e49105a84bcc1385;hp=f939c86d9495e13d975553a57562ad145dc0be18;hb=44bd65fe60fb83fa4c3bbb0d4c679d2b70a096df;hpb=14969a8b4386d7c38e90775e1c57886c9bf3839e diff --git a/src/libffi_compat.h b/src/libffi_compat.h index f939c86..4394531 100644 --- a/src/libffi_compat.h +++ b/src/libffi_compat.h @@ -26,7 +26,11 @@ #ifndef PSI_LIBFFI_COMPAT_H #define PSI_LIBFFI_COMPAT_H -#include "php_psi_stdinc.h" +#ifdef HAVE_CONFIG_H +# include "config.h" +#else +# include "php_config.h" +#endif #undef PACKAGE #undef PACKAGE_BUGREPORT @@ -102,6 +106,7 @@ static inline void psi_ffi_prep_va(ffi_cif *base, ffi_cif *signature, size_t arg #endif assert(FFI_OK == rc); + (void) rc; }