On Thu, May 14, 2009 at 2:34 PM, Jerome Gotangco <[email protected]> wrote:
> On Thu, May 14, 2009 at 2:28 PM, fooler mail <[email protected]> wrote:
>> hi,
>>
>> anyone care to run and show the output of the command below in your
>> mac os console?
>>
>> touch _temp_.c ; gcc -dM -E _temp_.c | more ; rm _temp_.c
>
> This will require gcc on the system btw, which means anyone testing
> this needs to install at least XCode but there could be a much lighter
> way to do this.

thanks for the info jerome... gcc is already fine with me as it
support many OSes as possible and just a preparation in case i bump
with mac OS...

the code is pretty simple...

#if __FreeBSD__ || __NetBSD__ || __DragonFly__ || __APPLE__ ||
__ANOTHER_OS_NAME__
        #define blah blah blah
#else
        #define blah blah blah
#endif

fooler.
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph

Reply via email to