[vlc-devel] commit: Don't define smb_auth on windows. (Jean-Baptiste Kempf )

git version control git at videolan.org
Sun Jun 15 01:49:50 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Jun 14 16:51:43 2008 -0700| [f82fe2f3cc346069e28085b1d0fcb78566c41204]

Don't define smb_auth on windows.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f82fe2f3cc346069e28085b1d0fcb78566c41204
---

 modules/access/smb.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/access/smb.c b/modules/access/smb.c
index ba9b8aa..1d60628 100644
--- a/modules/access/smb.c
+++ b/modules/access/smb.c
@@ -112,13 +112,13 @@ struct access_sys_t
 
 #ifdef WIN32
 static void Win32AddConnection( access_t *, char *, char *, char *, char * );
-#endif
-
+#else
 static void smb_auth( const char *srv, const char *shr, char *wg, int wglen,
                       char *un, int unlen, char *pw, int pwlen )
 {
     //wglen = unlen = pwlen = 0;
 }
+#endif
 
 /****************************************************************************
  * Open: connect to smb server and ask for file




More information about the vlc-devel mailing list