Windows/VS2010 fixes.

This commit is contained in:
Jan Vidar Krey 2011-12-11 12:53:09 +01:00
parent ebd3ccf98e
commit 6d609e18a2
3 changed files with 4 additions and 2 deletions

View File

@ -59,8 +59,8 @@ static int plugin_command_dispatch(struct command_base* cbase, struct hub_user*
struct plugin_callback_data* plugin_callback_data_create() struct plugin_callback_data* plugin_callback_data_create()
{ {
LOG_PLUGIN("plugin_callback_data_create()");
struct plugin_callback_data* data = (struct plugin_callback_data*) hub_malloc_zero(sizeof(struct plugin_callback_data)); struct plugin_callback_data* data = (struct plugin_callback_data*) hub_malloc_zero(sizeof(struct plugin_callback_data));
LOG_PLUGIN("plugin_callback_data_create()");
data->commands = list_create(); data->commands = list_create();
return data; return data;
} }

View File

@ -14,6 +14,9 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_auth_simple", "plugins\
EndProjectSection EndProjectSection
EndProject EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_example", "plugins\mod_example\mod_example.vcxproj", "{9BBAEFDA-8E0E-4E7F-B8B6-0050432FC45B}" Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mod_example", "plugins\mod_example\mod_example.vcxproj", "{9BBAEFDA-8E0E-4E7F-B8B6-0050432FC45B}"
ProjectSection(ProjectDependencies) = postProject
{0A3C1519-D877-47D9-A82E-40AC1BC79D75} = {0A3C1519-D877-47D9-A82E-40AC1BC79D75}
EndProjectSection
EndProject EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution

View File

@ -108,7 +108,6 @@
<ClCompile Include="..\src\network\select.c" /> <ClCompile Include="..\src\network\select.c" />
<ClCompile Include="..\src\network\timeout.c" /> <ClCompile Include="..\src\network\timeout.c" />
<ClCompile Include="..\src\network\timer.c" /> <ClCompile Include="..\src\network\timer.c" />
<ClCompile Include="..\src\network\winsock.c" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="..\src\adc\adcconst.h" /> <ClInclude Include="..\src\adc\adcconst.h" />