diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-12-09 16:02:31 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-12-09 16:02:31 +0000 |
commit | fc1eb3ca9480c9550926dfabb39aa8b84cc19c9a (patch) | |
tree | 503387f729813659410e03748144f668b1d5933b /src/libmime/images.c | |
parent | 3eba0f7aca001bce201a934fcf7e033cfac29778 (diff) | |
download | rspamd-fc1eb3ca9480c9550926dfabb39aa8b84cc19c9a.tar.gz rspamd-fc1eb3ca9480c9550926dfabb39aa8b84cc19c9a.zip |
[Minor] Arrrgh, stupid cmake
Diffstat (limited to 'src/libmime/images.c')
-rw-r--r-- | src/libmime/images.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libmime/images.c b/src/libmime/images.c index 454c1e5fd..15ed6c6ec 100644 --- a/src/libmime/images.c +++ b/src/libmime/images.c @@ -19,7 +19,7 @@ #include "message.h" #include "html.h" -#ifdef WITH_GD +#ifdef USABLE_GD #include "gd.h" #include <math.h> @@ -209,7 +209,7 @@ process_bmp_image (struct rspamd_task *task, GByteArray *data) return img; } -#ifdef WITH_GD +#ifdef USABLE_GD /* * DCT from Emil Mikulic. * http://unix4lyfe.org/dct/ @@ -345,7 +345,7 @@ rspamd_image_dct_block (gint pixels[8][8], gdouble *out) static void rspamd_image_normalize (struct rspamd_task *task, struct rspamd_image *img) { -#ifdef WITH_GD +#ifdef USABLE_GD gdImagePtr src = NULL, dst = NULL; guint i, j, k, l; |