mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-01-29 15:50:25 +01:00
fpi-image: Check for PIXMAN presency using #ifdef
That's a defined variable that may be there or not, and currently we warn with: - fpi-image.c:29:5: warning: "HAVE_PIXMAN" is not defined, evaluates to 0
This commit is contained in:
parent
1f1ed80dbf
commit
54bb0c12e6
1 changed files with 2 additions and 2 deletions
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
#include <nbis.h>
|
||||
|
||||
#if HAVE_PIXMAN
|
||||
#ifdef HAVE_PIXMAN
|
||||
#include <pixman.h>
|
||||
#endif
|
||||
|
||||
|
|
@ -107,7 +107,7 @@ fpi_mean_sq_diff_norm (const guint8 *buf1,
|
|||
return res / size;
|
||||
}
|
||||
|
||||
#if HAVE_PIXMAN
|
||||
#ifdef HAVE_PIXMAN
|
||||
FpImage *
|
||||
fpi_image_resize (FpImage *orig_img,
|
||||
guint w_factor,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue