aboutsummaryrefslogtreecommitdiff
path: root/compat/jansson/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'compat/jansson/util.h')
-rw-r--r--compat/jansson/util.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/compat/jansson/util.h b/compat/jansson/util.h
new file mode 100644
index 0000000..06a547b
--- /dev/null
+++ b/compat/jansson/util.h
@@ -0,0 +1,13 @@
+/*
+ * Copyright (c) 2009, 2010 Petri Lehtinen <petri@digip.org>
+ *
+ * Jansson is free software; you can redistribute it and/or modify
+ * it under the terms of the MIT license. See LICENSE for details.
+ */
+
+#ifndef UTIL_H
+#define UTIL_H
+
+#define max(a, b) ((a) > (b) ? (a) : (b))
+
+#endif