tdb: define _PUBLIC_ so we can compile tdb. rusty/tdb-update
authorRusty Russell <rusty@rustcorp.com.au>
Thu, 22 Apr 2010 04:41:38 +0000 (14:11 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 22 Apr 2010 04:41:38 +0000 (14:11 +0930)
commit54bee0ec670724c337b882e7dda3e999ffa80691
tree1e699b6fe89e06b355bf70d08108a0535673e9cb
parente174dc084f11db0eb239b643affef2c02c711b1c
tdb: define _PUBLIC_ so we can compile tdb.

The Samba tree defines _PUBLIC_ (and _PRIVATE_) for libraries to
control visibility.  The last commit absorbed this from their tdb,
but we need to #define to stub it out since ctdb doesn't use it
(and doesn't need to: we only use tdb internally).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
lib/tdb/include/tdb.h