Defined a DEBUG_RDP5 macro for selective debugging during the RDP5 integration process.
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@340 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
f6520423f4
commit
4ccf5a9387
3
configure
vendored
3
configure
vendored
@ -59,6 +59,9 @@ case $arg in
|
||||
--with-debug-kbd)
|
||||
cflags="$cflags -g -DWITH_DEBUG_KBD"
|
||||
;;
|
||||
--with-debug-rdp5)
|
||||
cflags="$cflags -g -DWITH_DEBUG_RDP5"
|
||||
;;
|
||||
--without-debug*)
|
||||
;;
|
||||
*)
|
||||
|
@ -36,6 +36,12 @@
|
||||
#define DEBUG_KBD(args)
|
||||
#endif
|
||||
|
||||
#ifdef WITH_DEBUG_RDP5
|
||||
#define DEBUG_RDP5(args) printf args;
|
||||
#else
|
||||
#define DEBUG_RDP5(args)
|
||||
#endif
|
||||
|
||||
#define STRNCPY(dst,src,n) { strncpy(dst,src,n-1); dst[n-1] = 0; }
|
||||
|
||||
#include "constants.h"
|
||||
|
Loading…
Reference in New Issue
Block a user