fix config so it works with gcc-2.8

This commit is contained in:
marc 1998-04-08 04:41:51 +00:00
parent 1abee69d44
commit e1dded1f93

View File

@ -0,0 +1,11 @@
--- unix/configure.~1~ Wed Apr 24 11:13:49 1996
+++ unix/configure Tue Apr 7 21:35:01 1998
@@ -126,7 +126,7 @@
done
echo Check for memset
-echo "int main(){ memset(); return 0; }" > conftest.c
+echo "int main(){ char buf[ 2 ]; memset(buf, 0, 2); return 0; }" > conftest.c
$CC conftest.c >/dev/null 2>/dev/null
[ $? -ne 0 ] && CFLAGS="${CFLAGS} -DZMEM"