]> gcc.gnu.org Git - gcc.git/commitdiff
(HANDLE_PRAGMA_WEAK): Depend on ASM_OUTPUT_DEF not
authorJim Wilson <wilson@gcc.gnu.org>
Mon, 28 Feb 1994 00:47:28 +0000 (16:47 -0800)
committerJim Wilson <wilson@gcc.gnu.org>
Mon, 28 Feb 1994 00:47:28 +0000 (16:47 -0800)
SET_ASM_OP when defining it.

From-SVN: r6665

gcc/c-pragma.c

index 238900348261a89e7d62564ffdf6e50824c28353..cdade3e26f515c8f43eb644207928e41a547897b 100644 (file)
@@ -21,11 +21,13 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #include "config.h"
 #include "tree.h"
 #include "function.h"
+#include "defaults.h"
 
 #ifdef HANDLE_SYSV_PRAGMA
 
-/* Support #pragma weak by default if WEAK_ASM_OP is defined.  */
-#if !defined (HANDLE_PRAGMA_WEAK) && defined (WEAK_ASM_OP) && defined (SET_ASM_OP)
+/* Support #pragma weak by default if WEAK_ASM_OP and ASM_OUTPUT_DEF
+   are defined.  */
+#if !defined (HANDLE_PRAGMA_WEAK) && defined (WEAK_ASM_OP) && defined (ASM_OUTPUT_DEF)
 #define HANDLE_PRAGMA_WEAK 1
 #endif
 
This page took 0.065964 seconds and 5 git commands to generate.