[gnome-commander] fix warning: HAVE_GSF will be undefined when unset
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] fix warning: HAVE_GSF will be undefined when unset
- Date: Fri, 28 Apr 2017 21:35:44 +0000 (UTC)
commit dcf9528a7ac0d5e9c9fecd7e457db57a2ae33677
Author: Andreas Henriksson <andreas fatal se>
Date: Tue Apr 18 23:37:27 2017 +0200
fix warning: HAVE_GSF will be undefined when unset
Check if it's defined rather than it's potential value.
(It will be either defined to 1 or undefined.)
src/tags/gnome-cmd-tags-doc.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/tags/gnome-cmd-tags-doc.cc b/src/tags/gnome-cmd-tags-doc.cc
index 620285b..70a5836 100644
--- a/src/tags/gnome-cmd-tags-doc.cc
+++ b/src/tags/gnome-cmd-tags-doc.cc
@@ -41,7 +41,7 @@
#ifdef HAVE_GSF_1_14_26
#include <gsf/gsf.h>
-#elif HAVE_GSF
+#elif defined(HAVE_GSF)
#include <gsf/gsf-infile.h>
#include <gsf/gsf-infile-msole.h>
#include <gsf/gsf-infile-zip.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]