From: Roland McGrath Date: Tue, 1 Feb 1994 00:52:02 +0000 (+0000) Subject: Formerly unix/bsd/m68k/sysdep.S.~5~ X-Git-Tag: upstream/2.30~10627^2~4176 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f075b1b2c0c8bb9dd7ec6504acbe8f96688612cf;p=external%2Fglibc.git Formerly unix/bsd/m68k/sysdep.S.~5~ --- diff --git a/sysdeps/unix/bsd/m68k/sysdep.S b/sysdeps/unix/bsd/m68k/sysdep.S index a7f599c..1ec1ba4 100644 --- a/sysdeps/unix/bsd/m68k/sysdep.S +++ b/sysdeps/unix/bsd/m68k/sysdep.S @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -25,7 +25,7 @@ syscall_error: The GNU C library always defines EWOULDBLOCK==EAGAIN. EWOULDBLOCK_sys is the original number. */ #ifdef __motorola__ -#ifdef EWOULDBLOCK_sys +#if defined (EWOULDBLOCK_sys) && EWOULDBLOCK_sys != EAGAIN cmp.l d0, #EWOULDBLOCK_sys bne store moveq.l #EAGAIN, d0 @@ -33,7 +33,7 @@ syscall_error: store: move.l d0, _errno moveq.l #-1, d0 #else -#ifdef EWOULDBLOCK_sys +#if defined (EWOULDBLOCK_sys) && EWOULDBLOCK_sys != EAGAIN cmpl d0, #EWOULDBLOCK_sys bne 0f moveq #EAGAIN, d0