[gexiv2] startup: Only try to enable BMFF support if available



commit d3bea93f0fd9f604c42ac1a8b5c44c6f668b7ea8
Author: Jens Georg <mail jensge org>
Date:   Mon Apr 12 10:40:19 2021 +0200

    startup: Only try to enable BMFF support if available
    
    ...

 gexiv2/gexiv2-startup.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gexiv2/gexiv2-startup.cpp b/gexiv2/gexiv2-startup.cpp
index 011cc9b..aef65b7 100644
--- a/gexiv2/gexiv2-startup.cpp
+++ b/gexiv2/gexiv2-startup.cpp
@@ -12,7 +12,7 @@
 #include "gexiv2-version.h"
 
 gboolean gexiv2_initialize(void) {
-#if EXIV2_TEST_VERSION(0,27,4)
+#ifdef EXV_ENABLE_BMFF
     Exiv2::enableBMFF();
 #endif
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]