From 9277fc96842929f38363a2474a0a937ab5fdc949 Mon Sep 17 00:00:00 2001 From: winckel <winckel@eurecom.fr> Date: Mon, 13 Jan 2014 23:21:31 +0000 Subject: [PATCH] Mapped "msg(..." to "LOG_D(PHY...". git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4864 818b1a75-f10b-46b9-bf7c-635c3b92a50f --- openair2/COMMON/openair_defs.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/openair2/COMMON/openair_defs.h b/openair2/COMMON/openair_defs.h index efb603115d..ac908e366e 100755 --- a/openair2/COMMON/openair_defs.h +++ b/openair2/COMMON/openair_defs.h @@ -10,7 +10,9 @@ #ifdef USER_MODE #include <stdio.h> #include <stdlib.h> -#define msg printf +#if !defined (msg) +# define msg(aRGS...) LOG_D(PHY, ##aRGS) +#endif #define malloc16(x) memalign(16,x) //malloc(x) #define free16(y,x) free(y) #define bigmalloc malloc -- GitLab