Commit d519788c authored by Steve Lhomme's avatar Steve Lhomme

more MSVC compilation fixes

parent 4d8f7edd
...@@ -347,7 +347,7 @@ int config_AutoSaveConfigFile( vlc_object_t * ); ...@@ -347,7 +347,7 @@ int config_AutoSaveConfigFile( vlc_object_t * );
i_config++; \ i_config++; \
if(!(i_config%10)) p_config = (module_config_t* )realloc(p_config, \ if(!(i_config%10)) p_config = (module_config_t* )realloc(p_config, \
(i_config+11) * sizeof(module_config_t)); \ (i_config+11) * sizeof(module_config_t)); \
{ static module_config_t tmp={}; \ { static module_config_t tmp; \
p_config[ i_config ] = tmp; \ p_config[ i_config ] = tmp; \
p_config[ i_config ].i_type = p_config[ i_config -1 ].i_type; \ p_config[ i_config ].i_type = p_config[ i_config -1 ].i_type; \
p_config[ i_config ].psz_name = name; \ p_config[ i_config ].psz_name = name; \
......
...@@ -156,3 +156,6 @@ ...@@ -156,3 +156,6 @@
/* Define to `unsigned' if <sys/types.h> does not define. */ /* Define to `unsigned' if <sys/types.h> does not define. */
/* #undef size_t */ /* #undef size_t */
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_DYNAMIC_PLUGINS 1
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment