Make 'gb.pdf' compile when poppler version >= 0.72.

[GB.PDF]
* BUG: Make 'gb.pdf' compile when poppler version >= 0.72.
This commit is contained in:
gambas 2018-12-21 02:48:20 +01:00
parent c2c18510e1
commit a576b687db
2 changed files with 5 additions and 0 deletions

View file

@ -35,6 +35,8 @@ if test "$have_poppler" = "yes"; then
AC_DEFINE_UNQUOTED(POPPLER_VERSION_0_64, $((1-$?)), Poppler version >= 0.64)
pkg-config --atleast-version=0.71.0 poppler
AC_DEFINE_UNQUOTED(POPPLER_VERSION_0_71, $((1-$?)), Poppler version >= 0.71)
pkg-config --atleast-version=0.72.0 poppler
AC_DEFINE_UNQUOTED(POPPLER_VERSION_0_72, $((1-$?)), Poppler version >= 0.72)
fi
AC_OUTPUT( \

View file

@ -47,6 +47,9 @@
#include <GlobalParams.h>
#include <UnicodeMap.h>
#if POPPLER_VERSION_0_72
#define getCString c_str
#endif
/***************************************************************************/