From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HYPtI-0001IM-P1 for qemu-devel@nongnu.org; Mon, 02 Apr 2007 13:00:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HYPtG-00019t-Rh for qemu-devel@nongnu.org; Mon, 02 Apr 2007 13:00:24 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HYPtG-00019G-NF for qemu-devel@nongnu.org; Mon, 02 Apr 2007 13:00:22 -0400 Received: from vc4-2-0-87.dsl.netrack.net ([199.45.160.85] helo=harmony.bsdimp.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HYPqC-0001mp-Gi for qemu-devel@nongnu.org; Mon, 02 Apr 2007 12:57:13 -0400 Date: Mon, 02 Apr 2007 10:55:56 -0600 (MDT) Message-Id: <20070402.105556.-1451161170.imp@bsdimp.com> Subject: Re: [Qemu-devel] Patch: dyngen-exec.h for OpenBSD From: "M. Warner Losh" In-Reply-To: <20070402160839.GJ24846@networkno.de> References: <20070402124122.GE24846@networkno.de> <20070402.085851.796899796.imp@bsdimp.com> <20070402160839.GJ24846@networkno.de> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: ths@networkno.de Cc: qemu-devel@nongnu.org In message: <20070402160839.GJ24846@networkno.de> Thiemo Seufer writes: : M. Warner Losh wrote: : > In message: <20070402124122.GE24846@networkno.de> : > Thiemo Seufer writes: : > : I made that "#ifdef _BSD" based on the assumption it is ok for all : > : BSD variants, including Darwin. : > : > _BSD isn't defined on all variants of BSD. sys/param.h defines BSD to : > be 199506 on all BSD systems (at least all of them derived from 4.4BSD : > lite). sys/param.h also defines BSD4_3 and BSD4_4. FreeBSD defines : > __FreeBSD__ in the compiler, NetBSD defined __NetBSD__, OpenBSD : > defines __OpenBSD__. I'm unsure what darwin/osx define. : > : > so unless I missed a change elsewhere in the build system to define : > _BSD, this change needs some more thought. : : It is already used in other files. The define in qemu comes from the : configure script via config.h, which might be a bug. Somehow I missed that detail... In that case, nevermind :-) Warner