define uwrap_enabled() on Samba3
authorAndrew Tridgell <tridge@samba.org>
Wed, 5 Aug 2009 21:38:43 +0000 (07:38 +1000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 5 Aug 2009 21:38:43 +0000 (07:38 +1000)
s3 doesn't use uwrap yet, but it uses some common coe in lib/, and so
needs a dummy version of the uwrap_enabled() macro

source3/include/includes.h

index 8fb240f26c6b89398a723976f17e3413c2c02ddf..a636716c22de174e9c18ba2dbe9c3e486f9e8132 100644 (file)
@@ -1112,4 +1112,7 @@ void in6_addr_to_sockaddr_storage(struct sockaddr_storage *ss,
                                  struct in6_addr ip);
 #endif
 
+/* samba3 doesn't use uwrap yet */
+#define uwrap_enabled() 0
+
 #endif /* _INCLUDES_H */