ixp4xx: add Titan Wireless TW-266-2 support
[openwrt.git] / package / goldfish-qemu / patches / 100-darwin_fix.patch
1 --- a/android-configure.sh
2 +++ b/android-configure.sh
3 @@ -656,6 +656,9 @@ case "$CPU" in
4 *) HOST_CPU=$CPU
5 ;;
6 esac
7 +case "$OS" in
8 + darwin*) echo "#define _BSD 1" >> $config_h;;
9 +esac
10 echo "#define HOST_$HOST_CPU 1" >> $config_h
11 log "Generate : $config_h"
12
13 --- a/android/utils/display-quartz.m
14 +++ b/android/utils/display-quartz.m
15 @@ -34,6 +34,7 @@ get_monitor_resolution( int *px_dpi, in
16 int
17 get_nearest_monitor_rect( int *x, int *y, int *width, int *height )
18 {
19 +#if 0
20 SDL_SysWMinfo info;
21 NSWindow* window;
22
23 @@ -108,4 +109,7 @@ get_nearest_monitor_rect( int *x, int
24 }
25 return 0;
26 }
27 +#else
28 + return -1;
29 +#endif
30 };
This page took 0.04413 seconds and 5 git commands to generate.