X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=utils%2Fresources.c;h=7b54adc635dadcd8b4274318c33ef9383354a3e3;hp=d95a103cd52e04fb6b6c5ba33e1d261741c5dd80;hb=d5186197bc394e10a4402f7f6d23fbb14103bc50;hpb=6afd6db0ae9396cd7ff897ade597cd5483f49b0e diff --git a/utils/resources.c b/utils/resources.c index d95a103c..7b54adc6 100644 --- a/utils/resources.c +++ b/utils/resources.c @@ -15,7 +15,7 @@ extern char *progname; -#ifndef HAVE_COCOA +#if !defined(HAVE_COCOA) && !defined(HAVE_ANDROID) #include @@ -135,10 +135,10 @@ get_float_resource (Display *dpy, char *res_name, char *res_class) return 0.0; } -#endif /* !HAVE_COCOA */ +#endif /* !HAVE_COCOA && !HAVE_ANDROID */ -/* These functions are the same with Xlib and Cocoa: +/* These functions are the same with Xlib, Cocoa and Android: */