jansson 2.0

This commit is contained in:
Petri Lehtinen
2011-02-28 20:46:14 +02:00
parent 42b651ef56
commit cf9b384bcb
5 changed files with 10 additions and 8 deletions

View File

@@ -17,7 +17,7 @@ libjansson_la_SOURCES = \
value.c
libjansson_la_LDFLAGS = \
-export-symbols-regex '^json_' \
-version-info 3:0:3
-version-info 4:0:0
if GCC
# These flags are gcc specific

View File

@@ -20,12 +20,12 @@ extern "C" {
/* version */
#define JANSSON_MAJOR_VERSION 1
#define JANSSON_MINOR_VERSION 3
#define JANSSON_MAJOR_VERSION 2
#define JANSSON_MINOR_VERSION 0
#define JANSSON_MICRO_VERSION 0
/* Micro version is omitted if it's 0 */
#define JANSSON_VERSION "1.3"
#define JANSSON_VERSION "2.0"
/* Version as a 3-byte hex number, e.g. 0x010201 == 1.2.1. Use this
for numeric comparisons, e.g. #if JANSSON_VERSION_HEX >= ... */