static void image_loader_setup_loader(ImageLoader *il)
{
-#if defined HAVE_TIFF || defined HAVE_PDF || defined HAVE_HEIF || defined HAVE_DJVU
+#if HAVE_TIFF || HAVE_PDF || HAVE_HEIF || HAVE_DJVU
gchar *format;
#endif
static gboolean image_loader_begin(ImageLoader *il)
{
-#if defined HAVE_TIFF || defined HAVE_PDF || defined HAVE_HEIF || defined HAVE_DJVU
+#if HAVE_TIFF || HAVE_PDF || HAVE_HEIF || HAVE_DJVU
gchar *format;
#endif
gssize b;
* fclose() (which call fflush() again, but the first one is needed since
* it doesn't make much sense to flush kernel buffers and then libc buffers,
* while closing file releases file descriptor we need to call fsync(). */
-#if defined(HAVE_FFLUSH) || defined(HAVE_FSYNC)
+#if HAVE_FFLUSH || HAVE_FSYNC
if (ssi->secure_save) {
gboolean fail = FALSE;