[talk] 2015-10-07 NYCBUG- meeting TBA?

Brian Callahan bcallah at devio.us
Thu Oct 8 22:10:36 EDT 2015



On 10/8/2015 10:06 PM, Isaac (.ike) Levy wrote:
>> On Oct 8, 2015, at 10:03 PM, Christos Zoulas <christos at zoulas.com> wrote:
>>
>> On Oct 7, 11:40pm, raulcuza at gmail.com (=?utf-8?Q?Ra=C3=BAl_Cuza?=) wrote:
>> -- Subject: Re: [talk] 2015-10-07 NYCBUG- meeting TBA?
>>
>> | http://www.opensource.apple.com/source/shell_cmds/shell_cmds-118/true/
>>
>> | The code itself is simple and thus easy to audit, but the folder it resides=
>> |  in still retains the standard structure the project as a whole needs to si=
>> | mplify the build, test, and documentation-creation processes. It is written=
>> |  in C, so it doesn't have the shell overhead a nameless OS choose to do.
>> | 
>>
>> Actually the code is over complicated :-)
>>
>> int
>> main(void)
>> {
>> 	return 0;
>> }
>>
>> christos
> But where is that 'christos' macro defined?  I see no imports or anything.
>
> Rocket-
> .ike
>
>

#include <stdlib.h>
int
main(void)
{
    #ifdef ike
    int i = 0;
    return i;
    #endif

    #ifdef christos
    return 0;
    #endif

    #if !defined(ike) && !defined(christos)
    exit 0;
    #endif
}

Everybody wins!



More information about the talk mailing list