From: Bruno Haible Date: Sun, 1 Jun 2008 21:10:06 +0000 (+0200) Subject: Fix syntax error on DragonFly BSD. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97e2ac556c21ecd6e7e2b997b1beb5e3c31dd8fe;p=pspp Fix syntax error on DragonFly BSD. --- diff --git a/ChangeLog b/ChangeLog index 1b18d90888..9c3aa94db3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-06-01 Bruno Haible + + * lib/stdio-impl.h (fp_ub): Use fp_. Needed for DragonFly BSD. + Reported by Voroskoi Andras . + 2008-06-01 Voroskoi Andras (tiny change) * lib/stdio-impl.h [__DragonFly__]: Fix typo. diff --git a/lib/stdio-impl.h b/lib/stdio-impl.h index 5288162b94..c803e88c97 100644 --- a/lib/stdio-impl.h +++ b/lib/stdio-impl.h @@ -60,7 +60,7 @@ }; # define fp_ub ((struct __sfileext *) fp->_ext._base)->_ub # else /* FreeBSD, DragonFly, MacOS X, Cygwin */ -# define fp_ub fp->_ub +# define fp_ub fp_->_ub # endif # define HASUB(fp) (fp_ub._base != NULL)