* image-writer.c: Fix the definition of TARGET_ASM_....
svn path=/trunk/mono/; revision=134634
2009-05-23 Zoltan Varga <vargaz@gmail.com>
+ * image-writer.c: Fix the definition of TARGET_ASM_....
+
* image-writer.c: Fix the emission of assembler directives in the last
change.
* TARGET_ASM_APPLE == apple assembler on OSX
* TARGET_ASM_GAS == GNU assembler
*/
-#ifndef TARGET_ASM
+#if !defined(TARGET_ASM_APPLE) && !defined(TARGET_ASM_GAS)
#ifdef __MACH__
-#define TARGET_ASM APPLE
-#else
-#define TARGET_ASM GAS
-#endif
-#endif
-
-#if TARGET_ASM == APPLE
#define TARGET_ASM_APPLE
-#elif TARGET_ASM == GAS
+#else
#define TARGET_ASM_GAS
#endif
+#endif
/*
* Defines for the directives used by different assemblers