]> git.sesse.net Git - vlc/commitdiff
Don't define smb_auth on windows.
authorJean-Baptiste Kempf <jb@videolan.org>
Sat, 14 Jun 2008 23:51:43 +0000 (16:51 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 14 Jun 2008 23:51:43 +0000 (16:51 -0700)
modules/access/smb.c

index ba9b8aa6ad664f5b08db22cd0b08406672c04cae..1d60628970a603ba022b4eb147702a075659fc63 100644 (file)
@@ -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