smock: substitute tab with 4 blanks for uniformity
[fedora-mingw.git] / darwinx-gcc / darwinx-gcc-42-dlfcn.patch
1 --- gcc_42-5566/gcc/config/darwin-crt3.c.orig   2009-02-15 20:08:45.000000000 +0000
2 +++ gcc_42-5566/gcc/config/darwin-crt3.c        2009-02-15 20:16:16.000000000 +0000
3 @@ -37,7 +37,17 @@
4  #include "tconfig.h"
5  #include "tsystem.h"
6  
7 +/* RWMJ: The headers we use for cross-compilation don't have <dlfcn.h>
8 + * even though this file exists on real Macs.  Hack around this for
9 + * now.
10 + */
11 +#if 0
12  #include <dlfcn.h>
13 +#else
14 +extern void *dlopen(const char *, int);
15 +#define RTLD_NOLOAD 0x10
16 +#endif
17 +
18  #include <stdbool.h>
19  #include <stdlib.h>
20  #include <string.h>