b76df7e727f19a52a76570a38cfcc38059d0b3c2
[swftools.git] / lib / pdf / popplercompat.h
1 #ifndef __popplercompat_h__
2 #define __popplercompat_h__
3
4 #include "../../config.h"
5
6 #ifdef HAVE_POPPLER
7   #define POPPLER_TILING_PATERN_RETURN GBool
8   #define POPPLER_TILING_PATERN_GFX
9   #define POPPLER_TILING_PATERN_GFX_ARG
10 #else
11   #define POPPLER_TILING_PATERN_RETURN void
12   #if (xpdfMajorVersion*10000 + xpdfMinorVersion*100 + xpdfUpdateVersion) < 30207
13     #define POPPLER_TILING_PATERN_GFX
14     #define POPPLER_TILING_PATERN_GFX_ARG
15   #else
16     #define POPPLER_TILING_PATERN_GFX Gfx *gfx,
17     #define POPPLER_TILING_PATERN_GFX_ARG gfx,
18   #endif
19 #endif
20
21 #ifdef HAVE_POPPLER
22 char* mktmpname(char*ptr);
23 #endif
24
25 #endif