Added a custom unistd.h to work around glibc vs Clang conflict on __block (hack taken from LanguageKit/CodeGen in Etoile)

main
qmathe 14 years ago
parent 8cf9b6058b
commit 6d8cc4159a

@ -0,0 +1,8 @@
/* See http://llvm.org/bugs/show_bug.cgi?id=4746 */
#ifdef __block
# undef __block
# include_next "unistd.h"
# define __block __attribute__((__blocks__(byref)))
#else
# include_next "unistd.h"
#endif
Loading…
Cancel
Save