Francois Gouget : sane.ds: SANE_SaneSetDefaults() is only used if SONAME_LIBSANE is defined.

Alexandre Julliard julliard at winehq.org
Fri Sep 13 10:15:51 CDT 2013


Module: wine
Branch: master
Commit: 0a177833efaff87def4542fdbfa57a6b20d094d3
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0a177833efaff87def4542fdbfa57a6b20d094d3

Author: Francois Gouget <fgouget at free.fr>
Date:   Fri Sep 13 10:48:16 2013 +0200

sane.ds: SANE_SaneSetDefaults() is only used if SONAME_LIBSANE is defined.

---

 dlls/sane.ds/capability.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/sane.ds/capability.c b/dlls/sane.ds/capability.c
index ee7435d..7bb64b3 100644
--- a/dlls/sane.ds/capability.c
+++ b/dlls/sane.ds/capability.c
@@ -1221,6 +1221,7 @@ TW_UINT16 SANE_SaneCapability (pTW_CAPABILITY pCapability, TW_UINT16 action)
     return twCC;
 }
 
+#ifdef SONAME_LIBSANE
 TW_UINT16 SANE_SaneSetDefaults (void)
 {
     TW_CAPABILITY cap;
@@ -1248,3 +1249,4 @@ TW_UINT16 SANE_SaneSetDefaults (void)
 
    return TWCC_SUCCESS;
 }
+#endif




More information about the wine-cvs mailing list