[vlc-devel] commit: Undef a few local macros. (Antoine Cellerier )

git version control git at videolan.org
Tue Sep 23 00:51:54 CEST 2008


vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Tue Sep 23 00:55:17 2008 +0200| [3925e814ca2cdf51085f2bd256b89bfaee8d31e8] | committer: Antoine Cellerier 

Undef a few local macros.

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

 src/text/strings.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/text/strings.c b/src/text/strings.c
index 165ab61..ad2469b 100644
--- a/src/text/strings.c
+++ b/src/text/strings.c
@@ -387,6 +387,7 @@ void resolve_xml_special_chars( char *psz_value )
             else TRY_CHAR( "'", 6, '\'' )
             else TRY_CHAR( ">", 4, '>' )
             else TRY_CHAR( """, 6, '"' )
+#undef TRY_CHAR
             else if( psz_value[1] == '#' )
             {
                 char *psz_end;
@@ -1000,6 +1001,8 @@ char *__str_format_meta( vlc_object_t *p_object, const char *string )
 
     return dst;
 }
+#undef INSERT_STRING
+#undef INSERT_STRING_NO_FREE
 
 /**
  * Apply str format time and str format meta




More information about the vlc-devel mailing list