mirror of https://github.com/ecmwf/eccodes.git
Merge branch 'develop' into feature/single-precision-computations
This commit is contained in:
commit
c36714360d
|
@ -10,6 +10,7 @@
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <time.h>
|
||||||
#include "eccodes.h"
|
#include "eccodes.h"
|
||||||
|
|
||||||
/* See JIRA issue GRIB-361 */
|
/* See JIRA issue GRIB-361 */
|
||||||
|
|
|
@ -583,6 +583,11 @@ cleanup:
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
static int unpack_float(grib_accessor* a, float* val, size_t* len)
|
||||||
|
{
|
||||||
|
grib_context_log(a->context, GRIB_LOG_ERROR, "JPEG support not enabled.");
|
||||||
|
return GRIB_FUNCTIONALITY_NOT_ENABLED;
|
||||||
|
}
|
||||||
static int unpack_double(grib_accessor* a, double* val, size_t* len)
|
static int unpack_double(grib_accessor* a, double* val, size_t* len)
|
||||||
{
|
{
|
||||||
grib_context_log(a->context, GRIB_LOG_ERROR, "JPEG support not enabled.");
|
grib_context_log(a->context, GRIB_LOG_ERROR, "JPEG support not enabled.");
|
||||||
|
|
Loading…
Reference in New Issue