From owner-freebsd-questions@FreeBSD.ORG Wed Oct 13 12:47:20 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 425091065670 for ; Wed, 13 Oct 2010 12:47:20 +0000 (UTC) (envelope-from chetan.shukla@aricent.com) Received: from jaguar.aricent.com (jaguar.aricent.com [121.241.96.11]) by mx1.freebsd.org (Postfix) with ESMTP id 499FB8FC1B for ; Wed, 13 Oct 2010 12:47:19 +0000 (UTC) Received: from jaguar.aricent.com (localhost [127.0.0.1]) by postfix.imss71 (Postfix) with ESMTP id 2859236B70 for ; Wed, 13 Oct 2010 18:15:45 +0530 (IST) Received: from GUREXHT01.ASIAN.AD.ARICENT.COM (gurexht01.asian.ad.aricent.com [10.203.171.136]) by jaguar.aricent.com (Postfix) with ESMTP id 1268A36B74 for ; Wed, 13 Oct 2010 18:15:45 +0530 (IST) Received: from GUREXMB01.asian.ad.aricent.com ([10.203.171.130]) by GUREXHT01.ASIAN.AD.ARICENT.COM ([10.203.171.137]) with mapi; Wed, 13 Oct 2010 18:17:16 +0530 From: Chetan Shukla To: "freebsd-questions@freebsd.org" Date: Wed, 13 Oct 2010 18:17:18 +0530 Thread-Topic: __FreeBSD__ not available and unsigned long type Thread-Index: Actq1MNLw8Wyzps7RTadHFCjWpMFcg== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: __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 12:47:20 -0000 Hi I have two doubts working further ion FreeBSD. In my machine (8.0-RELEASE) I am not getting the macro __FreeBSD__. As a workaround I have to conditionally define it in makefile. Could someone define what is missing in this case. Moreover when I have to use unsigned long and signed long the only Options that I have are to write "unsigned long " and "signed long" Nothing more specific like uint64_t?Or are there any special header files t= hat need to be included. Looking forward for guidance, Thanks & Regards, Chetan ________________________________ "DISCLAIMER: This message is proprietary to Aricent and is intended solely = for the use of the individual to whom it is addressed. It may contain privi= leged or confidential information and should not be circulated or used for = any purpose other than for what it is intended. If you have received this m= essage in error, please notify the originator immediately. If you are not t= he intended recipient, you are notified that you are strictly prohibited fr= om using, copying, altering, or disclosing the contents of this message. Ar= icent accepts no responsibility for loss or damage arising from the use of = the information transmitted by this email including damage from virus."