mirror of https://github.com/ecmwf/eccodes.git
GRIB-615: Compiler warnings with jasper: macros redefined
This commit is contained in:
parent
6332bffd7e
commit
1b4bfd90a5
|
@ -15,6 +15,12 @@
|
|||
|
||||
#include "grib_tools.h"
|
||||
#if HAVE_LIBJASPER
|
||||
/* Remove compiler warnings re macros being redefined */
|
||||
#undef PACKAGE_BUGREPORT
|
||||
#undef PACKAGE_NAME
|
||||
#undef PACKAGE_STRING
|
||||
#undef PACKAGE_TARNAME
|
||||
#undef PACKAGE_VERSION
|
||||
#include "jasper/jasper.h"
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue