talloc: add a define for TALLOC_MAX_DEPTH
[ira/wip.git] / lib / talloc / talloc.h
index 4adc206d1200a9c95584f16b992ad97f4fe7b5bf..a98cff4d2eb30c12bd3b225b8f13ff51ed249d7e 100644 (file)
@@ -1591,4 +1591,8 @@ void talloc_set_log_stderr(void);
 #define talloc_append_string(c, s, a) (s?talloc_strdup_append(s,a):talloc_strdup(c, a))
 #endif
 
+#ifndef TALLOC_MAX_DEPTH
+#define TALLOC_MAX_DEPTH 10000
+#endif
+
 #endif