* mpw-config.in (MacSerial.h): Duplicate from standard Serial.h.

* ser-mac.c (MacSerial.h): Include instead of Serial.h.
This commit is contained in:
Stan Shebs 1994-07-01 18:44:26 +00:00
parent 0f2fa54c06
commit 7f6572f512
3 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Fri Jul 1 11:40:24 1994 Stan Shebs (shebs@andros.cygnus.com)
* mpw-config.in (MacSerial.h): Duplicate from standard Serial.h.
* ser-mac.c (MacSerial.h): Include instead of Serial.h.
Wed Jun 29 18:04:55 1994 Stan Shebs (shebs@andros.cygnus.com)
* mpw-make.in: Use {s} instead of {srcdir} everywhere.

View File

@ -4,6 +4,11 @@ forward-include "{srcdir}"config:m68k:xm-mpw.h xm.h
forward-include "{srcdir}"config:m68k:xm-m68k.h 'm68k/xm-m68k.h'
# Make a copy of this file and give it a different name, so it
# won't be confused with GDB's serial.h.
Duplicate -y "{MPW}"Interfaces:CIncludes:Serial.h MacSerial.h
Echo "/* dummy */" >termio.h
Set xdepfiles " "

View File

@ -23,7 +23,9 @@
#include <Types.h>
#include <Devices.h>
#include <Serial.h>
/* This is the regular Mac Serial.h, but copied to a different name
so as not to get confused with the GDB serial.h above. */
#include "MacSerial.h"
/* This is unused for now. We just return a placeholder. */