Backport: 927cf45 :: Add LOGFN macro to header.

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

SVN revision: 84140
Signed-off-by: Deon Thomas <PrinceAMD.Elive@gmail.com>
This commit is contained in:
Christopher Michael 2013-02-19 10:56:17 +00:00 committed by Deon Thomas
parent 7f3f30ff44
commit b996c449d7
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