]> git.ozlabs.org Git - ccan/blobdiff - ccan/tdb/io.c
First step to ccanizing TDB.
[ccan] / ccan / tdb / io.c
index 172ab69d8c9e69ae7f160071567c4d885ac7848c..3bf64443535d6080ed9e7f29a97849b627300ac5 100644 (file)
    License along with this library; if not, see <http://www.gnu.org/licenses/>.
 */
 
-
 #include "tdb_private.h"
+#ifndef MAX
+#define MAX(a,b) ((a) > (b) ? (a) : (b))
+#endif
 
 /* check for an out of bounds access - if it is out of bounds then
    see if the database has been expanded by someone else and expand