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]> 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]
> http://lists.nopcode.org/listinfo.cgi/radare-nopcode.org
>
_______________________________________________
radare mailing list
[email protected]
http://lists.nopcode.org/listinfo.cgi/radare-nopcode.org

Reply via email to