summaryrefslogtreecommitdiff
path: root/src/eom-exif-util.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2015-12-31 12:42:39 +0300
committermonsta <[email protected]>2015-12-31 12:42:39 +0300
commit49ec19e0ff8153ceaa265087d0e61f82eb6abf6e (patch)
tree2a0cf495da69a8f7c1b5b46ff5755a739a9c7d97 /src/eom-exif-util.c
parent6fc5013e3a61d1b86f077c611c20407a796c414c (diff)
downloadeom-49ec19e0ff8153ceaa265087d0e61f82eb6abf6e.tar.bz2
eom-49ec19e0ff8153ceaa265087d0e61f82eb6abf6e.tar.xz
add missing #ifdef to avoid possible "unused function" warning
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: