* config/m68k/xm-mpw.h (spin.h): Include.
authorStan Shebs <shebs@codesourcery.com>
Wed, 14 Dec 1994 01:00:17 +0000 (01:00 +0000)
committerStan Shebs <shebs@codesourcery.com>
Wed, 14 Dec 1994 01:00:17 +0000 (01:00 +0000)
(ALMOST_STDC): Only define if MPW_C.
* config/m68k/tm-mac.h: New file, Mac target definitions.

gdb/ChangeLog.mpw
gdb/config/m68k/.Sanitize
gdb/config/m68k/tm-mac.h [new file with mode: 0644]
gdb/config/m68k/xm-mpw.h

index 16119b48af54f7e9b156a37b520b5bae7910e82d..0116cf3345326a9e70d083080a58dc8f561d45b3 100644 (file)
@@ -1,5 +1,9 @@
 Tue Dec 13 16:32:09 1994  Stan Shebs  <shebs@andros.cygnus.com>
 
+       * config/m68k/xm-mpw.h (spin.h): Include.
+       (ALMOST_STDC): Only define if MPW_C.
+       * config/m68k/tm-mac.h: New file, Mac target definitions.
+
        * mpw-config.in (m68k-apple-macos, ppc-apple-macos,
         i386-unknown-aout): New targets.
        (mk.tmp): Add *DEPFILES definitions.
index e713eb7d9545d33da9ccb2c06d27c4d88391f00b..4341d19d4c0e9fb33f69f70fa2f25edcb7d5507c 100644 (file)
@@ -15,7 +15,7 @@
 
 Do-first:
 
-mpw_files="xm-mpw.h"
+mpw_files="xm-mpw.h tm-mac.h"
 
 if ( echo $* | grep keep\-mpw > /dev/null ) ; then
        keep_these_too="${mpw_files}"
diff --git a/gdb/config/m68k/tm-mac.h b/gdb/config/m68k/tm-mac.h
new file mode 100644 (file)
index 0000000..7ff87b3
--- /dev/null
@@ -0,0 +1,20 @@
+/* Target-dependent definitions for Mac running MacOS.
+   Copyright (C) 1994 Free Software Foundation, Inc.
+
+This file is part of GDB.
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
+
+#include "m68k/tm-m68k.h"
index c2485f852339469a679626dc098392ac0939f56d..0aae62dbb117a051636cd3f725d665513f2bb2aa 100644 (file)
@@ -21,8 +21,12 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 #include "fopen-bin.h"
 
+#include "spin.h"
+
 #define CANT_FORK
 
+#ifdef MPW_C
+
 /* MPW C is basically ANSI, but doesn't actually enable __STDC__,
    nor does it allow __STDC__ to be #defined. */
 
@@ -30,6 +34,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #define ALMOST_STDC
 #endif
 
+#endif /* MPW_C */
+
 #ifdef BFD_TRUE_FALSE
 #ifndef false
 #define false mpw_false
This page took 0.026 seconds and 4 git commands to generate.