Define USED_FOR_TARGET in tconfig.h, matching what gcc does.
authorSimon Schubert <corecode@dragonflybsd.org>
Thu, 23 Aug 2007 06:22:10 +0000 (06:22 +0000)
committerSimon Schubert <corecode@dragonflybsd.org>
Thu, 23 Aug 2007 06:22:10 +0000 (06:22 +0000)
gnu/usr.bin/cc34/cc_prep/tconfig.h
gnu/usr.bin/cc41/cc_prep/tconfig.h

index 2bbcbe7..319b828 100644 (file)
@@ -1,9 +1,16 @@
-/* $DragonFly: src/gnu/usr.bin/cc34/cc_prep/tconfig.h,v 1.1 2004/06/14 22:27:53 joerg Exp $ */
+/* $DragonFly: src/gnu/usr.bin/cc34/cc_prep/tconfig.h,v 1.2 2007/08/23 06:22:10 corecode Exp $ */
 
 #ifndef GCC_CONFIG_H
 #define GCC_CONFIG_H
 
+#ifndef USED_FOR_TARGET
+#  define USED_FOR_TARGET
+#endif
+
 #include "dragonfly-native.h"
-#include "ansidecl.h"
+
+#ifdef IN_GCC
+#  include "ansidecl.h"
+#endif
 
 #endif
index ebee6c3..28527ea 100644 (file)
@@ -1,9 +1,16 @@
-/* $DragonFly: src/gnu/usr.bin/cc41/cc_prep/tconfig.h,v 1.1 2006/09/27 12:10:33 corecode Exp $ */
+/* $DragonFly: src/gnu/usr.bin/cc41/cc_prep/tconfig.h,v 1.2 2007/08/23 06:22:10 corecode Exp $ */
 
 #ifndef GCC_CONFIG_H
 #define GCC_CONFIG_H
 
+#ifndef USED_FOR_TARGET
+#  define USED_FOR_TARGET
+#endif
+
 #include "dragonfly-native.h"
-#include "ansidecl.h"
+
+#ifdef IN_GCC
+#  include "ansidecl.h"
+#endif
 
 #endif