aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1996-05-24 19:12:21 +0000
committerMichael Meissner <gnu@the-meissners.org>1996-05-24 19:12:21 +0000
commit119b85f6ca23faae4fc76849f84083ab808580b0 (patch)
tree619b0ee49275be74646ff68e1163cb37b9f4545a /sim/ppc
parent0c18e3f002e5029c8b0f05478ee9e13d1ad5a645 (diff)
downloadgdb-119b85f6ca23faae4fc76849f84083ab808580b0.zip
gdb-119b85f6ca23faae4fc76849f84083ab808580b0.tar.gz
gdb-119b85f6ca23faae4fc76849f84083ab808580b0.tar.bz2
More changes for GO32 canadian cross builds
Diffstat (limited to 'sim/ppc')
-rw-r--r--sim/ppc/ChangeLog2
-rw-r--r--sim/ppc/emul_netbsd.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog
index df729b3..cd7813b 100644
--- a/sim/ppc/ChangeLog
+++ b/sim/ppc/ChangeLog
@@ -9,6 +9,8 @@ Fri May 24 10:08:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
* emul_netbsd.c: Add support for missing system calls, and/or
missing stat fields.
+ (MAXPATHLEN): Undefine if including unistd.h, since sys/param.h
+ might define it.
* hw_pal.c (WITH_STDIO): Redefine if O_NDELAY, F_GETFL, or F_SETFL
are not defined.
diff --git a/sim/ppc/emul_netbsd.c b/sim/ppc/emul_netbsd.c
index cc6fe89..51af331 100644
--- a/sim/ppc/emul_netbsd.c
+++ b/sim/ppc/emul_netbsd.c
@@ -83,6 +83,7 @@ int getrusage();
#endif
#ifdef HAVE_UNISTD_H
+#undef MAXPATHLEN /* sys/param.h might define this also */
#include <unistd.h>
#endif