why not just __linux__ || __APPLE__ ? DRY!
both fixups are pushed again (sry for the noise) i have no OSX box, but
a friend of me managed
to made some tests and it should be ok now.
Demonic Software wrote:
Looks like you will need to revert on the #if/#else stuff
in src/cons.c:
# if __linux__
FILE *cons_stdin_fd = (FILE *)&stdin; // XXX SHOULD BE cons_stdin_fd
= stdin, NOT &stdin!!!
#else
#if __APPLE__
FILE *cons_stdin_fd = (FILE *)&stdin; // XXX SHOULD BE cons_stdin_fd
= stdin, NOT &stdin!!!
#else
FILE *cons_stdin_fd = (FILE *)stdin; // XXX SHOULD BE cons_stdin_fd
= stdin, NOT &stdin!!!
#endif
#endif
It will not build with this:
#if __linux__
FILE *cons_stdin_fd = (FILE *)&stdin; // XXX SHOULD BE cons_stdin_fd
= stdin, NOT &stdin!!!
#else
FILE *cons_stdin_fd = (FILE *)stdin; // XXX SHOULD BE cons_stdin_fd
= stdin, NOT &stdin!!!
#endif
I get the "initializer error" with the later. Sorry for the confusion.
dsoftware
On Tue, Apr 21, 2009 at 6:47 AM, pancake <[email protected]
<mailto:[email protected]>> wrote:
Well. afaik __darwin__ is deprecated..Apple decided to
change it to __DARWIN, but looking a
Sorry. I mean __APPLE__, not __DARWIN which is even worst.
--pancake
_______________________________________________
radare mailing list
[email protected] <mailto:[email protected]>
http://lists.nopcode.org/listinfo.cgi/radare-nopcode.org
------------------------------------------------------------------------
_______________________________________________
radare mailing list
[email protected]
http://lists.nopcode.org/listinfo.cgi/radare-nopcode.org
_______________________________________________
radare mailing list
[email protected]
http://lists.nopcode.org/listinfo.cgi/radare-nopcode.org