ffsl on s390x must fail

Jakub Jelinek jakub@redhat.com
Tue Apr 13 15:02:00 GMT 2004


On Tue, Apr 13, 2004 at 03:00:41PM +0200, Thorsten Kukuk wrote:
> > Here is a fix for it:
> 
> Sorry, but I missed one line in the patch, else it cannot work:
> 
> 2004-04-13  Thorsten Kukuk  <kukuk@suse.de>
> 
> 	* sysdeps/s390/ffs.c: Include limits.h
> 
> --- sysdeps/s390/ffs.c	9 Apr 2004 18:23:13 -0000	1.5
> +++ sysdeps/s390/ffs.c	13 Apr 2004 08:37:46 -0000
> @@ -19,6 +19,7 @@
>     Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
>     02111-1307 USA.  */
>  
> +#include <limits.h>
>  #define ffsl __something_else
>  #include <string.h>

IMHO you should instead check # if __WORDSIZE == 32.

	Jakub



More information about the Libc-alpha mailing list