diff options
| author | Jay Sorg <jay.sorg@gmail.com> | 2013-07-12 12:22:48 -0700 |
|---|---|---|
| committer | Jay Sorg <jay.sorg@gmail.com> | 2013-07-12 12:22:48 -0700 |
| commit | 997be5d621adf14c03d3a00d4dda52fc3cf51b74 (patch) | |
| tree | f94a4fc3267f7c9bc15a7d1cead45facb4ed4cb9 | |
| parent | f5fddc1a57634eea142da4fceff6202304675d98 (diff) | |
| download | xrdp-proprietary-997be5d621adf14c03d3a00d4dda52fc3cf51b74.tar.gz xrdp-proprietary-997be5d621adf14c03d3a00d4dda52fc3cf51b74.zip | |
part of merge, no logic change, add -g to Makefile and LLOGLN to xup.c
| -rw-r--r-- | xorg/X11R7.6/rdp/Makefile | 2 | ||||
| -rw-r--r-- | xup/xup.c | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/xorg/X11R7.6/rdp/Makefile b/xorg/X11R7.6/rdp/Makefile index b38d27c0..3b84c43c 100644 --- a/xorg/X11R7.6/rdp/Makefile +++ b/xorg/X11R7.6/rdp/Makefile @@ -43,7 +43,7 @@ LIBS = $(XSRCBASE)/dbe/.libs/libdbe.a \ LLIBS = -Wl,-rpath=$(LIBBASE) -lfreetype -lz -lm -lXfont -lXau \ -lXdmcp -lpixman-1 -lrt -ldl -lcrypto -lGL -lXdamage -CFLAGS = -O2 -Wall -fno-strength-reduce \ +CFLAGS = -g -O2 -Wall -fno-strength-reduce \ -I../../include \ -I../../cfb \ -I../../mfb \ @@ -20,6 +20,12 @@ #include "xup.h" +#define LOG_LEVEL 1 +#define LLOG(_level, _args) \ + do { if (_level < LOG_LEVEL) { g_write _args ; } } while (0) +#define LLOGLN(_level, _args) \ + do { if (_level < LOG_LEVEL) { g_writeln _args ; } } while (0) + /******************************************************************************/ /* returns error */ int DEFAULT_CC |
