projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cb3be2
)
* mtrace.c: Don't typedef things like size_t, just #define them.
author
Jim Kingdon
<jkingdon@engr.sgi.com>
Fri, 3 May 1991 06:04:13 +0000
(06:04 +0000)
committer
Jim Kingdon
<jkingdon@engr.sgi.com>
Fri, 3 May 1991 06:04:13 +0000
(06:04 +0000)
gdb/mtrace.c
patch
|
blob
|
history
diff --git
a/gdb/mtrace.c
b/gdb/mtrace.c
index 2b8222f2857d1c6f0377c3864541d1b5def3b219..5e64304fc51b41e12deaf8f4f67b9503ab6c8cea 100755
(executable)
--- a/
gdb/mtrace.c
+++ b/
gdb/mtrace.c
@@
-22,6
+22,13
@@
#include <stdio.h>
#include "ansidecl.h"
+
+/* size_t may be defined in the system-supplied stdio.h. */
+/* So just kludge it. */
+#define size_t unsigned int
+#define ptrdiff_t int
+#define __ONEFILE
+
#include <stdlib.h>
#include "gmalloc.h"