Add LOGFN macro to header.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 84140
This commit is contained in:
Christopher Michael 2013-02-19 10:56:17 +00:00 committed by Christopher Michael
parent db406167dc
commit 927cf450d4
1 changed files with 10 additions and 0 deletions

View File

@ -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