Files
bsdports/net/samba/files/patch-x-lib-replace-libreplace_cc.m4
2019-12-26 07:26:06 +00:00

14 lines
482 B
Plaintext

--- ./lib/replace/libreplace_cc.m4.orig 2011-07-24 22:09:38.000000000 +0300
+++ ./lib/replace/libreplace_cc.m4 2015-01-02 17:21:25.000000000 +0200
@@ -145,6 +145,10 @@
AC_CHECK_TYPE(uintptr_t, unsigned long long)
AC_CHECK_TYPE(ptrdiff_t, unsigned long long)
+if test x"$ac_cv_type_intptr_t" = x"yes"; then
+ AC_DEFINE(HAVE_INTPTR_T,1,[Whether the host has intptr_t])
+fi
+
if test x"$ac_cv_type_long_long" != x"yes";then
AC_MSG_ERROR([LIBREPLACE needs type 'long long'])
fi