Enlightenment CVS committal Author : ningerso Project : e17 Module : proto
Dir : e17/proto/eflpp/src/ecore Modified Files: eflpp_ecore.cpp Log Message: Fix build when fb not available. Someone with FB please verify this does not break that case. =================================================================== RCS file: /cvs/e/e17/proto/eflpp/src/ecore/eflpp_ecore.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- eflpp_ecore.cpp 3 Jul 2007 22:42:35 -0000 1.1 +++ eflpp_ecore.cpp 3 Aug 2007 18:09:57 -0000 1.2 @@ -6,7 +6,9 @@ #include "eflpp_ecoreconfig.h" /* STD */ +#ifdef ENABLE_EFLPP_FB #include <linux/fb.h> +#endif #include <sys/types.h> #include <sys/stat.h> #include <sys/ioctl.h> @@ -163,6 +165,7 @@ if ( display && ::strstr( display, "/dev/fb" ) ) { +#ifdef ENABLE_EFLPP_FB int fb_dev_fd = ::open( display, O_RDONLY ); if ( fb_dev_fd < 0 ) { @@ -199,6 +202,9 @@ #endif ecore_evas_fullscreen_set( _ee, 1 ); // fullscreen is default to get auto resize on changing rotation ecore_evas_rotation_set( _ee, rotation ); // force resize +#else + printf("FB engine not enabled\n"); +#endif } else { ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs