Do not print PRE-RELEASE

This commit is contained in:
Shahram Najm 2015-03-10 18:20:46 +00:00
parent 49f3e1a0b3
commit 08ec4aff72
2 changed files with 6 additions and 4 deletions

View File

@ -230,9 +230,11 @@ void grib_print_api_version(FILE* out)
ECCODES_MAJOR_VERSION,
ECCODES_MINOR_VERSION,
ECCODES_REVISION_VERSION);
if (ECCODES_MAJOR_VERSION < 1) {
fprintf(out, "%s", " PRE-RELEASE");
}
/*
* if (ECCODES_MAJOR_VERSION < 1) {
* fprintf(out, "%s", " PRE-RELEASE");
* }
*/
}
static grib_context default_grib_context = {

View File

@ -62,7 +62,7 @@ int main( int argc,char* argv[])
printf("\n");
printf("eccodes Version %d.%d.%d",
major,minor,revision);
if (ECCODES_MAJOR_VERSION < 1) printf(" PRE-RELEASE");
/* if (ECCODES_MAJOR_VERSION < 1) printf(" PRE-RELEASE"); */
printf("\n");
printf("\n");
#if GRIB_PTHREADS