From: nash Date: Tue, 8 Jun 2010 07:20:12 +0000 (+0000) Subject: Minor tweak: Include stdio if logging enabled (ugly, but it is for debug) X-Git-Tag: accepted/2.0/20130306.224007~195^2~938 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b443eab6dd1a14f3414f170a0624ffae9bf57cc5;p=profile%2Fivi%2Fecore.git Minor tweak: Include stdio if logging enabled (ugly, but it is for debug) git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@49564 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/ecore_x/xlib/ecore_x_private.h b/src/lib/ecore_x/xlib/ecore_x_private.h index 484a7f2..b322817 100644 --- a/src/lib/ecore_x/xlib/ecore_x_private.h +++ b/src/lib/ecore_x/xlib/ecore_x_private.h @@ -297,9 +297,10 @@ void _ecore_x_input_handler(XEvent* xevent); void _ecore_mouse_move(unsigned int timestamp, unsigned int xmodifiers, int x, int y, int x_root, int y_root, unsigned int event_window, unsigned int window, unsigned int root_win, int same_screen, int dev, double radx, double rady, double pressure, double angle, double mx, double my, double mrx, double mry); Ecore_Event_Mouse_Button *_ecore_mouse_button(int event, unsigned int timestamp, unsigned int xmodifiers, unsigned int buttons, int x, int y, int x_root, int y_root, unsigned int event_window, unsigned int window, unsigned int root_win, int same_screen, int dev, double radx, double rady, double pressure, double angle, double mx, double my, double mrx, double mry); -//#define LOGFNS 1 +#define LOGFNS 1 #ifdef LOGFNS +#include #define LOGFN(fl, ln, fn) printf("-ECORE-X: %25s: %5i - %s\n", fl, ln, fn); #else #define LOGFN(fl, ln, fn)