[PATCH] D33883: Fix building DynamicLibrary.cpp with musl libc

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 4 13:47:46 PDT 2017


krytarowski accepted this revision.
krytarowski added a comment.
This revision is now accepted and ready to land.

  /* Standard streams.  */
  extern struct _IO_FILE *stdin;          /* Standard input stream.  */
  extern struct _IO_FILE *stdout;         /* Standard output stream.  */
  extern struct _IO_FILE *stderr;         /* Standard error output stream.  */
  /* C89/C99 say they're macros.  Make them happy.  */
  #define stdin stdin
  #define stdout stdout
  #define stderr stderr

Confirmed.


https://reviews.llvm.org/D33883





More information about the llvm-commits mailing list