OSDN Git Service

(HANDLE_PRAGMA_WEAK): Define only if SET_ASM_OP defined.
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 1 Aug 1992 18:18:31 +0000 (18:18 +0000)
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 1 Aug 1992 18:18:31 +0000 (18:18 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1741 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/c-pragma.c

index 934318e..9bb9266 100644 (file)
@@ -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