TCF Agent: Enable context-linux.c compilation with ENABLE_ContextMemoryProperties and ENABLE_ContextStateProperties
diff --git a/agent/system/GNU/Linux/tcf/context-linux.c b/agent/system/GNU/Linux/tcf/context-linux.c
index 6c8f906..ac8b15e 100644
--- a/agent/system/GNU/Linux/tcf/context-linux.c
+++ b/agent/system/GNU/Linux/tcf/context-linux.c
@@ -1172,6 +1172,20 @@
}
#endif
+#if ENABLE_ContextMemoryProperties
+int context_get_memory_properties(Context * ctx, const char *** names, const char *** values, int * cnt) {
+ *cnt = 0;
+ return 0;
+}
+#endif
+
+#if ENABLE_ContextStateProperties
+int context_get_state_properties(Context * ctx, const char *** names, const char *** values, int * cnt) {
+ *cnt = 0;
+ return 0;
+}
+#endif
+
static Context * find_pending_attach(pid_t pid) {
LINK * l = attach_list.next;
while (l != &attach_list) {