mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-05 18:10:36 +02:00
2d581e6047
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16459 3c298f89-4303-0410-b956-a3cf2f4a3e73
31 lines
685 B
Diff
31 lines
685 B
Diff
--- a/android-configure.sh
|
|
+++ b/android-configure.sh
|
|
@@ -656,6 +656,9 @@ case "$CPU" in
|
|
*) HOST_CPU=$CPU
|
|
;;
|
|
esac
|
|
+case "$OS" in
|
|
+ darwin*) echo "#define _BSD 1" >> $config_h;;
|
|
+esac
|
|
echo "#define HOST_$HOST_CPU 1" >> $config_h
|
|
log "Generate : $config_h"
|
|
|
|
--- a/android/utils/display-quartz.m
|
|
+++ b/android/utils/display-quartz.m
|
|
@@ -34,6 +34,7 @@ get_monitor_resolution( int *px_dpi, in
|
|
int
|
|
get_nearest_monitor_rect( int *x, int *y, int *width, int *height )
|
|
{
|
|
+#if 0
|
|
SDL_SysWMinfo info;
|
|
NSWindow* window;
|
|
|
|
@@ -108,4 +109,7 @@ get_nearest_monitor_rect( int *x, int
|
|
}
|
|
return 0;
|
|
}
|
|
+#else
|
|
+ return -1;
|
|
+#endif
|
|
};
|