This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RDI on OpenBSD
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: dne at mayonnaise dot net (Daniel Néri)
- Cc: gdb-patches at sources dot redhat dot com, Richard dot Earnshaw at arm dot com
- Date: Thu, 04 Apr 2002 10:54:06 +0100
- Subject: Re: RDI on OpenBSD
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
/* A temporary sop to older compilers */
-#if defined (__NetBSD__) || defined (unix)
+#if defined (__unix__) || defined (unix)
# ifndef __unix /* (good for long-term portability?) */
This is wrong. NetBSD doesn't define "__unix__" or "unix". Hence the
original test.
R.