[vlc-commits] smb: remove stray #ifdef hack

Rémi Denis-Courmont git at videolan.org
Sun Mar 18 18:40:05 CET 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Mar 18 18:18:38 2018 +0200| [0326e1cd82670a6ef818919afd392e01f3c36f77] | committer: Rémi Denis-Courmont

smb: remove stray #ifdef hack

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

 modules/access/smb.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/modules/access/smb.c b/modules/access/smb.c
index 3a299d2c65..1ca3cf68eb 100644
--- a/modules/access/smb.c
+++ b/modules/access/smb.c
@@ -166,15 +166,6 @@ static int Open( vlc_object_t *p_this )
         return VLC_EGENERIC;
 #endif
 
-/*
-** some version of glibc defines open as a macro, causing havoc
-** with other macros using 'open' under the hood, such as the
-** following one:
-*/
-#if defined(smbc_open) && defined(open)
-# undef open
-#endif
-
     if( vlc_UrlParseFixup( &url, p_access->psz_url ) != 0 )
     {
         vlc_UrlClean( &url );



More information about the vlc-commits mailing list