Created
September 16, 2012 14:31
-
-
Save lichray/3732654 to your computer and use it in GitHub Desktop.
Enable fcitx-glient log for debug build.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- ./src/lib/fcitx-gclient/fcitxclient.c~ 2012-09-12 08:39:35.000000000 -0500 | |
+++ ./src/lib/fcitx-gclient/fcitxclient.c 2012-09-16 09:21:47.061179876 -0500 | |
@@ -26,9 +26,13 @@ | |
#include "fcitxclient.h" | |
#include "marshall.h" | |
+#ifdef _DEBUG | |
#define fcitx_gclient_debug(...) g_log ("fcitx-client", \ | |
G_LOG_LEVEL_DEBUG, \ | |
__VA_ARGS__) | |
+#else | |
+#define fcitx_gclient_debug(...) | |
+#endif | |
typedef struct _ProcessKeyStruct ProcessKeyStruct; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment