summaryrefslogtreecommitdiff
path: root/yajl-fallback/yajl/yajl_version.h
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2012-04-08 14:05:47 +0200
committerMichael Stapelberg <michael@stapelberg.de>2012-04-08 14:05:47 +0200
commit1b3aa404858b476015a2b29d0c42f7dbbed915bc (patch)
tree4d4baadd7d64dace692c00f90c4c6bab21f0c76d /yajl-fallback/yajl/yajl_version.h
parent9d7b69652c0e45014e2934f8a0358b64928539ec (diff)
add yajl compat code
Diffstat (limited to 'yajl-fallback/yajl/yajl_version.h')
-rw-r--r--yajl-fallback/yajl/yajl_version.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/yajl-fallback/yajl/yajl_version.h b/yajl-fallback/yajl/yajl_version.h
new file mode 100644
index 0000000..c6da442
--- /dev/null
+++ b/yajl-fallback/yajl/yajl_version.h
@@ -0,0 +1,7 @@
+#ifndef YAJL_VERSION_H_
+#define YAJL_VERSION_H_
+/* Fallback for libyajl 1 which does not provide yajl_version.h */
+#define YAJL_MAJOR 1
+#define YAJL_MINOR 0
+#define YAJL_MICRO 0
+#endif