This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RDI on OpenBSD


>  /* 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.

Ok, forget that.  The compiler defines "unix" (and hence, "__unix__"), so 
that isn't a problem.

R.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]