aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/GFModuleCommonUtils.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/GFModuleCommonUtils.hpp b/include/GFModuleCommonUtils.hpp
index b7fa00e..9a4a101 100644
--- a/include/GFModuleCommonUtils.hpp
+++ b/include/GFModuleCommonUtils.hpp
@@ -85,12 +85,14 @@
#define END_EXECUTE_MODULE() }
+#undef CB_SUCC
#define CB_SUCC(event) \
{ \
CB(event, GFGetModuleID(), {{"ret", "0"}}); \
return 0; \
}
+#undef CB_ERR
#define CB_ERR(event, ret, err) \
{ \
CB(event, GFGetModuleID(), \