aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1998-04-21 06:50:07 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1998-04-21 06:50:07 +0000
commitd2f5ef7012f3bb5a0b403a1530d389c3355fb004 (patch)
tree43b520f2ab58b787bd6dd067df38e0152dc2f15c /gcc/objc
parentcb85a2f3bd8b1d92bc22caf6d7ffd19981189f73 (diff)
downloadgcc-d2f5ef7012f3bb5a0b403a1530d389c3355fb004.zip
gcc-d2f5ef7012f3bb5a0b403a1530d389c3355fb004.tar.gz
gcc-d2f5ef7012f3bb5a0b403a1530d389c3355fb004.tar.bz2
Fixes a problem compiling on sparcs where STRUCT_VALUE is defined in sparc.h to...
Fixes a problem compiling on sparcs where STRUCT_VALUE is defined in sparc.h to use gen_rtx_MEM() and then evaluated in an #if directive in sendmsg.c. * objc/sendmsg.c: Define gen_rtx_MEM() to 1, as is already done for gen_rtx(MEM, ...). From-SVN: r19353
Diffstat (limited to 'gcc/objc')
-rw-r--r--gcc/objc/sendmsg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/objc/sendmsg.c b/gcc/objc/sendmsg.c
index cf8e47a..f0d3957 100644
--- a/gcc/objc/sendmsg.c
+++ b/gcc/objc/sendmsg.c
@@ -32,6 +32,7 @@ Boston, MA 02111-1307, USA. */
/* this is how we hack STRUCT_VALUE to be 1 or 0 */
#define gen_rtx(args...) 1
+#define gen_rtx_MEM(args...) 1
#define rtx int
#if !defined(STRUCT_VALUE) || STRUCT_VALUE == 0