From 49ec19e0ff8153ceaa265087d0e61f82eb6abf6e Mon Sep 17 00:00:00 2001 From: monsta Date: Thu, 31 Dec 2015 12:42:39 +0300 Subject: add missing #ifdef to avoid possible "unused function" warning --- src/eom-exif-util.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/eom-exif-util.c b/src/eom-exif-util.c index f469793..12b27f0 100644 --- a/src/eom-exif-util.c +++ b/src/eom-exif-util.c @@ -53,6 +53,7 @@ typedef ExifData EomExifData; /* Define EomExifData type */ G_DEFINE_BOXED_TYPE(EomExifData, eom_exif_data, eom_exif_data_copy, eom_exif_data_free) +#ifdef HAVE_STRPTIME static gpointer _check_strptime_updates_wday (gpointer data) { @@ -63,6 +64,7 @@ _check_strptime_updates_wday (gpointer data) /* Check if tm.tm_wday is set to Wednesday (3) now */ return GBOOLEAN_TO_POINTER (tm.tm_wday == 3); } +#endif /** * _calculate_wday_yday: -- cgit v1.2.1