aboutsummaryrefslogtreecommitdiff
path: root/gdb/m3-nat.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-03-14 16:42:30 +0000
committerAndrew Cagney <cagney@redhat.com>2001-03-14 16:42:30 +0000
commit5bb367b1d911e5893a504ebd2ac301f55cd3ec79 (patch)
tree59ab5aed48339cc88c8792a7741b007f46346d5b /gdb/m3-nat.c
parent0eee5820aa0f68b2283b40f5a3fb09aefcfb1575 (diff)
downloadgdb-5bb367b1d911e5893a504ebd2ac301f55cd3ec79.zip
gdb-5bb367b1d911e5893a504ebd2ac301f55cd3ec79.tar.gz
gdb-5bb367b1d911e5893a504ebd2ac301f55cd3ec79.tar.bz2
Eliminate some uses of __STDC__.
Diffstat (limited to 'gdb/m3-nat.c')
-rw-r--r--gdb/m3-nat.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gdb/m3-nat.c b/gdb/m3-nat.c
index 7e78881..4fcf951 100644
--- a/gdb/m3-nat.c
+++ b/gdb/m3-nat.c
@@ -1832,13 +1832,8 @@ mach3_read_inferior (CORE_ADDR addr, char *myaddr, int length)
return length;
}
-#ifdef __STDC__
#define CHK_GOTO_OUT(str,ret) \
do if (ret != KERN_SUCCESS) { errstr = #str; goto out; } while(0)
-#else
-#define CHK_GOTO_OUT(str,ret) \
- do if (ret != KERN_SUCCESS) { errstr = str; goto out; } while(0)
-#endif
struct vm_region_list
{
@@ -4225,11 +4220,7 @@ m3_open (char *arg, int from_tty)
}
#ifdef DUMP_SYSCALL
-#ifdef __STDC__
#define STR(x) #x
-#else
-#define STR(x) "x"
-#endif
char *bsd1_names[] =
{