diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2002-10-21 23:10:38 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@gcc.gnu.org> | 2002-10-21 23:10:38 +0000 |
commit | f8eef883323f1cf0b1e442bb285a51216e41ddd6 (patch) | |
tree | 750347a7d35f14a56263c516ca6215586748749c /gcc/libgcc2.c | |
parent | 89e56fe54bd6bdc2b267ab0cea22415cb3f543bb (diff) | |
download | gcc-f8eef883323f1cf0b1e442bb285a51216e41ddd6.zip gcc-f8eef883323f1cf0b1e442bb285a51216e41ddd6.tar.gz gcc-f8eef883323f1cf0b1e442bb285a51216e41ddd6.tar.bz2 |
libgcc2.c: Fix __udiv_w_sdiv breakage on platforms that don't define sdiv_qrnnd.
* libgcc2.c: Fix __udiv_w_sdiv breakage on platforms that
don't define sdiv_qrnnd.
From-SVN: r58393
Diffstat (limited to 'gcc/libgcc2.c')
-rw-r--r-- | gcc/libgcc2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/libgcc2.c b/gcc/libgcc2.c index 4c78eb4..cd5a005 100644 --- a/gcc/libgcc2.c +++ b/gcc/libgcc2.c @@ -368,8 +368,10 @@ __muldi3 (DWtype u, DWtype v) #if (defined (L_udivdi3) || defined (L_divdi3) || \ defined (L_umoddi3) || defined (L_moddi3)) +#if defined (sdiv_qrnnd) #define L_udiv_w_sdiv #endif +#endif #ifdef L_udiv_w_sdiv #if defined (sdiv_qrnnd) |