summaryrefslogtreecommitdiff
path: root/src/eom-exif-util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eom-exif-util.c')
-rw-r--r--src/eom-exif-util.c2
1 files changed, 2 insertions, 0 deletions
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: