From: Steve Lhomme Date: Mon, 23 May 2005 16:26:18 +0000 (+0000) Subject: more MSVC compilation fixes X-Git-Tag: 0.8.4~1648 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=d519788c5fd33ba5c8de8e48beaffc6e5a811761;p=vlc more MSVC compilation fixes --- diff --git a/include/configuration.h b/include/configuration.h index 92bc61f328..31d9dd6fd6 100644 --- a/include/configuration.h +++ b/include/configuration.h @@ -347,7 +347,7 @@ int config_AutoSaveConfigFile( vlc_object_t * ); i_config++; \ if(!(i_config%10)) p_config = (module_config_t* )realloc(p_config, \ (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 ].i_type = p_config[ i_config -1 ].i_type; \ p_config[ i_config ].psz_name = name; \ diff --git a/msvc/config.h.in b/msvc/config.h.in index 5c00287f3f..ed3bc92939 100644 --- a/msvc/config.h.in +++ b/msvc/config.h.in @@ -156,3 +156,6 @@ /* Define to `unsigned' if does not define. */ /* #undef size_t */ + +#define HAVE_STRUCT_ADDRINFO 1 +#define HAVE_DYNAMIC_PLUGINS 1