From owner-freebsd-questions@FreeBSD.ORG Wed Oct 13 17:38:23 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91522106566C for ; Wed, 13 Oct 2010 17:38:23 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout023.mac.com (asmtpout023.mac.com [17.148.16.98]) by mx1.freebsd.org (Postfix) with ESMTP id 790EB8FC16 for ; Wed, 13 Oct 2010 17:38:23 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from cswiger1.apple.com ([17.209.4.71]) by asmtp023.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0LA800M7GOZKEJ10@asmtp023.mac.com> for freebsd-questions@freebsd.org; Wed, 13 Oct 2010 10:38:08 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=5 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1004200000 definitions=main-1010130100 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2010-10-13_08:2010-10-13, 2010-10-13, 1970-01-01 signatures=0 From: Chuck Swiger In-reply-to: Date: Wed, 13 Oct 2010 10:38:07 -0700 Message-id: References: To: Chetan Shukla X-Mailer: Apple Mail (2.1081) Cc: "freebsd-questions@freebsd.org" Subject: Re: __FreeBSD__ not available and unsigned long type X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Oct 2010 17:38:23 -0000 On Oct 13, 2010, at 5:47 AM, Chetan Shukla wrote: > In my machine (8.0-RELEASE) I am not getting the macro __FreeBSD__. > As a workaround I have to conditionally define it in makefile. What does: touch foo.h; cpp -dM foo.h | grep FreeBSD ...return? Regards, -- -Chuck