__FreeBSD__ not available and unsigned long type

Chuck Swiger cswiger at mac.com
Wed Oct 13 17:38:23 UTC 2010


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



More information about the freebsd-questions mailing list