princeamd pushed a commit to branch enlightenment-0.17.

commit b996c449d70dacca2887c6e7cf60cd590e2b53e6
Author: Christopher Michael <[email protected]>
Date:   Tue Feb 19 10:56:17 2013 +0000

    Backport: 927cf45 :: Add LOGFN macro to header.
    
    Signed-off-by: Christopher Michael <[email protected]>
    
    SVN revision: 84140
    Signed-off-by: Deon Thomas <[email protected]>
---
 src/modules/conf_randr/e_mod_main.h | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/src/modules/conf_randr/e_mod_main.h 
b/src/modules/conf_randr/e_mod_main.h
index 672edf6..49f7f21 100644
--- a/src/modules/conf_randr/e_mod_main.h
+++ b/src/modules/conf_randr/e_mod_main.h
@@ -1,6 +1,16 @@
 #ifndef E_MOD_MAIN_H
 # define E_MOD_MAIN_H
 
+# define LOGFNS 1
+
+# ifdef LOGFNS
+#  include <stdio.h>
+#  define LOGFN(fl, ln, fn) printf("-CONF-RANDR: %25s: %5i - %s\n", fl, ln, 
fn);
+# else
+#  define LOGFN(fl, ln, fn)
+# endif
+
+
 # ifndef ECORE_X_RANDR_1_2
 #  define ECORE_X_RANDR_1_2 ((1 << 16) | 2)
 # endif

-- 

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

Reply via email to