GRIB-615: Compiler warnings with jasper: macros redefined

This commit is contained in:
Shahram Najm 2014-10-23 13:41:22 +01:00
parent 69585b4db8
commit 6332bffd7e
1 changed files with 6 additions and 0 deletions

View File

@ -11,6 +11,12 @@
#include "grib_api_internal.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"
#define MAXOPTSSIZE 1024