mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00: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:
committed by
Marco Trevisan
parent
1f1ed80dbf
commit
54bb0c12e6
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user