summaryrefslogtreecommitdiff
path: root/gcc/c-pragma.c
diff options
context:
space:
mode:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-08-01 18:18:31 +0000
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-08-01 18:18:31 +0000
commit039bb2a00e5c3ffd502d21f6ff785692f07e5497 (patch)
tree039fc60faf69ffe785fe7a1a61fa70abef56a8e1 /gcc/c-pragma.c
parent5321024dac9a25eda9ee172943c3ae2deeadc79c (diff)
downloadgcc-039bb2a00e5c3ffd502d21f6ff785692f07e5497.tar.gz
(HANDLE_PRAGMA_WEAK): Define only if SET_ASM_OP defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1741 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-pragma.c')
-rw-r--r--gcc/c-pragma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-pragma.c b/gcc/c-pragma.c
index 934318e9dbf..9bb92661d2b 100644
--- a/gcc/c-pragma.c
+++ b/gcc/c-pragma.c
@@ -24,7 +24,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifdef HANDLE_SYSV_PRAGMA
/* Support #pragma weak by default if WEAK_ASM_OP is defined. */
-#if !defined (HANDLE_PRAGMA_WEAK) && defined (WEAK_ASM_OP)
+#if !defined (HANDLE_PRAGMA_WEAK) && defined (WEAK_ASM_OP) && defined (SET_ASM_OP)
#define HANDLE_PRAGMA_WEAK 1
#endif