Skip to content

Commit

Permalink
Merge 32329df into 6bcba70
Browse files Browse the repository at this point in the history
  • Loading branch information
kbevers committed Nov 17, 2017
2 parents 6bcba70 + 32329df commit 0868958
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 29 deletions.
2 changes: 1 addition & 1 deletion src/pj_release.c
Expand Up @@ -2,7 +2,7 @@

#include <projects.h>

char const pj_release[]="Rel. 4.9.3, 15 August 2016";
char const pj_release[]="Rel. 5.0.0, development version";

const char *pj_get_release()

Expand Down
25 changes: 2 additions & 23 deletions src/proj.h
Expand Up @@ -135,32 +135,11 @@
extern "C" {
#endif

/************************************************************************
These version numbers should be updated with every release!
The format of PJ_VERSION is
* Before version 4.10.0: PJ_VERSION=MNP
where M, N, and P are the major, minor, and patch numbers;
e.g., PJ_VERSION=493 for version 4.9.3.
* Version 4.10.0 and later: PJ_VERSION=MMMNNNPP later
where MMM, NNN, PP are the major, minor, and patch numbers.
The minor and patch numbers are padded with leading zeros if
necessary);
e.g., PJ_VERSION=401000 for version 4.10.0.
************************************************************************/
#define PROJ_VERSION_MAJOR 10
/* The version numbers should be updated with every release! **/
#define PROJ_VERSION_MAJOR 5
#define PROJ_VERSION_MINOR 0
#define PROJ_VERSION_PATCH 0

#ifndef PJ_VERSION
#define PJ_VERSION 10##000##00
#endif
#ifndef PROJ_VERSION
#define PROJ_VERSION PJ_VERSION
#endif


extern char const pj_release[]; /* global release id string */

/* first forward declare everything needed */
Expand Down
10 changes: 5 additions & 5 deletions src/proj_api.h
Expand Up @@ -31,16 +31,16 @@
* This version number should be updated with every release! The format of
* PJ_VERSION is
*
* * Before version 4.10.0: PJ_VERSION=MNP where M, N, and P are the major,
* * Before version 5.0.0: PJ_VERSION=MNP where M, N, and P are the major,
* minor, and patch numbers; e.g., PJ_VERSION=493 for version 4.9.3.
*
* * Version 4.10.0 and later: PJ_VERSION=MMMNNNPP later where MMM, NNN, PP
* * Version 5.0.0 and later: PJ_VERSION=MMMNNNPP later where MMM, NNN, PP
* are the major, minor, and patch numbers (the minor and patch numbers
* are padded with leading zeros if necessary); e.g., PJ_VERSION=401000
* for version 4.10.0.
* are padded with leading zeros if necessary); e.g., PJ_VERSION=50000
* for version 5.0.0.
*/
#ifndef PJ_VERSION
#define PJ_VERSION 493
#define PJ_VERSION 50000
#endif


Expand Down

0 comments on commit 0868958

Please sign in to comment.