GRIB-615: Compiler warnings with jasper: macros redefined

This commit is contained in:
Shahram Najm 2014-10-23 15:02:08 +01:00
parent 6332bffd7e
commit 1b4bfd90a5
1 changed files with 6 additions and 0 deletions

View File

@ -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