Enlightenment CVS committal Author : technikolor Project : e17 Module : apps/e
Dir : e17/apps/e/src/modules/battery Modified Files: e_mod_main.c Log Message: Patch submitted by Devon O\'Dell <[EMAIL PROTECTED]>. A fix for FreeBSD/AMD64 which lacks APM. =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/battery/e_mod_main.c,v retrieving revision 1.52 retrieving revision 1.53 diff -u -3 -r1.52 -r1.53 --- e_mod_main.c 25 Oct 2005 10:51:25 -0000 1.52 +++ e_mod_main.c 9 Nov 2005 07:56:20 -0000 1.53 @@ -1468,6 +1468,7 @@ static Status * _battery_bsd_apm_check(Battery *ef) { +#ifdef __i386__ int ac_stat, bat_stat, bat_val, time_val; char buf[4096]; int hours, minutes; @@ -1556,6 +1557,9 @@ } return stat; +#else + return NULL; +#endif } #endif ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs