Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Oct 2010 10:38:07 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        Chetan Shukla <chetan.shukla@aricent.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: __FreeBSD__ not available and unsigned long type
Message-ID:  <C47D354C-AC22-4487-B143-3C0D4CA5E196@mac.com>
In-Reply-To: <DF735188ED91BD458FA0E0C17929339F95750C88@GUREXMB01.ASIAN.AD.ARICENT.COM>
References:  <DF735188ED91BD458FA0E0C17929339F95750C88@GUREXMB01.ASIAN.AD.ARICENT.COM>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C47D354C-AC22-4487-B143-3C0D4CA5E196>