Skip to content

Commit

Permalink
fix included jansson version number (v2.6)
Browse files Browse the repository at this point in the history
  • Loading branch information
tpruvot committed Aug 3, 2015
1 parent 50a4869 commit 5a501c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions compat/jansson/jansson.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ extern "C" {
/* version */

#define JANSSON_MAJOR_VERSION 2
#define JANSSON_MINOR_VERSION 5
#define JANSSON_MINOR_VERSION 6
#define JANSSON_MICRO_VERSION 0

/* Micro version is omitted if it's 0 */
#define JANSSON_VERSION "2.5"
#define JANSSON_VERSION "2.6"

/* Version as a 3-byte hex number, e.g. 0x010201 == 1.2.1. Use this
for numeric comparisons, e.g. #if JANSSON_VERSION_HEX >= ... */
Expand Down
4 changes: 1 addition & 3 deletions cpu-miner.c
Original file line number Diff line number Diff line change
Expand Up @@ -2412,9 +2412,7 @@ static void show_version_and_exit(void)
/* dependencies versions */
printf("%s\n", curl_version());
#ifdef JANSSON_VERSION
printf("libjansson/%s ", JANSSON_VERSION);
#else
printf("libjansson/1.3 "); /* windows */
printf("jansson/%s ", JANSSON_VERSION);
#endif
#ifdef PTW32_VERSION
printf("pthreads/%d.%d.%d.%d ", PTW32_VERSION);
Expand Down

0 comments on commit 5a501c0

Please sign in to comment.