mirror of https://github.com/ecmwf/eccodes.git
Simplify rule re PRE RELEASE
This commit is contained in:
parent
09a6ab48ad
commit
039ed1d201
|
@ -246,11 +246,10 @@ void grib_print_api_version(FILE* out)
|
|||
ECCODES_MAJOR_VERSION,
|
||||
ECCODES_MINOR_VERSION,
|
||||
ECCODES_REVISION_VERSION);
|
||||
#ifdef ECCODES_PRE_RELEASE
|
||||
|
||||
if (ECCODES_MAJOR_VERSION < 1) {
|
||||
fprintf(out, "%s", " PRE-RELEASE");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
const char* grib_get_package_name()
|
||||
|
|
|
@ -65,9 +65,9 @@ int main( int argc,char* argv[])
|
|||
printf("\n");
|
||||
printf("%s Version %d.%d.%d",
|
||||
grib_get_package_name(), major,minor,revision);
|
||||
#ifdef ECCODES_PRE_RELEASE
|
||||
|
||||
if (ECCODES_MAJOR_VERSION < 1) printf(" PRE-RELEASE");
|
||||
#endif
|
||||
|
||||
printf("\n");
|
||||
printf("\n");
|
||||
if(context->debug) {
|
||||
|
|
Loading…
Reference in New Issue