[492] in NetBSD-Development

home help back first fref pref prev next nref lref last post

__NetBSD__

daemon@ATHENA.MIT.EDU (yoav@MIT.EDU)
Fri Jan 27 14:19:22 1995

From: yoav@MIT.EDU
Date: Fri, 27 Jan 1995 14:18:52 -0500
To: netbsd-dev@MIT.EDU


okay? so what is the "correct" thing to use?

according to your list:
#define __i386__ 1 
#define __NetBSD__ 1 
#define __i386 1 
#define i386 1 
#define __unix 1 
#define __unix__ 1 
#define __GNUC__ 2 
#define unix 1 

i386 is out of the question, since the changes will work on 68k NetBSD
  unix... hahah!!
  gnuc??

I would guess the most appropriate thing is BSD4.4, but nothing defines that, and
POSIX doesn't specify anything about this..
	as it stands, I currently seeing one of N possibilities:

	1) use #ifdef __NetBSD__
	2) do #ifdef __NetBSD__ || defined(__FreeBSD__) ; #defined BSD44  /* you know what I mean */
	3) use configure...
??
		yoav

home help back first fref pref prev next nref lref last post