From 6c9ace27c591e48fdffdf5add6b4e11b2f669922 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 20 Aug 2009 13:43:42 +0200 Subject: talloc: add defines and functions for TALLOC_MAJOR/MINOR_VERSION We also use the major and minor versions in the TALLOC_MAGIC, so that we can detect if two conflicting versions of talloc are loaded in one process. In this case we use talloc_log() to output a very useful debug message before we call talloc_abort(). metze --- lib/talloc/talloc.pc.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/talloc/talloc.pc.in') diff --git a/lib/talloc/talloc.pc.in b/lib/talloc/talloc.pc.in index 459cce70b1..5ce2109866 100644 --- a/lib/talloc/talloc.pc.in +++ b/lib/talloc/talloc.pc.in @@ -5,7 +5,7 @@ includedir=@includedir@ Name: talloc Description: A hierarchical pool based memory system with destructors -Version: @PACKAGE_VERSION@ +Version: @TALLOC_VERSION@ Libs: -L${libdir} -ltalloc Cflags: -I${includedir} URL: http://talloc.samba.org/ -- cgit