2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

fix win32 build

- add missing hooks.h and hooks.c to project files
- remove extraneous symbols from libns.def
This commit is contained in:
Evan Hunt 2018-12-07 09:24:24 -08:00
parent 882ad18c5e
commit c6527aedc7
4 changed files with 10 additions and 4 deletions

View File

@ -54,7 +54,7 @@
<WarningLevel>Level3</WarningLevel> <WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization> <Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBBIND9_EXPORTS;%(PreprocessorDefinitions);%(PreprocessorDefinitions)</PreprocessorDefinitions> <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;LIBBIND9_EXPORTS;%(PreprocessorDefinitions);%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>./;../../../;include;../include;../../isc/win32;../../isc/win32/include;../../isc/include;../../isccfg/include;../../dns/include;@LIBXML2_INC@@OPENSSL_INC@@GEOIP_INC@%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <AdditionalIncludeDirectories>./;../../../;include;../include;../../isc/win32;../../isc/win32/include;../../isc/include;../../isccfg/include;../../dns/include;../../ns/include;@LIBXML2_INC@@OPENSSL_INC@@GEOIP_INC@%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<FunctionLevelLinking>true</FunctionLevelLinking> <FunctionLevelLinking>true</FunctionLevelLinking>
<PrecompiledHeaderOutputFile>.\$(Configuration)\$(TargetName).pch</PrecompiledHeaderOutputFile> <PrecompiledHeaderOutputFile>.\$(Configuration)\$(TargetName).pch</PrecompiledHeaderOutputFile>
<AssemblerListingLocation>.\$(Configuration)\</AssemblerListingLocation> <AssemblerListingLocation>.\$(Configuration)\</AssemblerListingLocation>

View File

@ -47,8 +47,6 @@ ns_hook_add
ns_hooktable_create ns_hooktable_create
ns_hooktable_free ns_hooktable_free
ns_hooktable_init ns_hooktable_init
ns_hooktable_reset
ns_hooktable_save
ns_interface_attach ns_interface_attach
ns_interface_detach ns_interface_detach
ns_interface_shutdown ns_interface_shutdown

View File

@ -30,6 +30,9 @@
<ClCompile Include="..\interfacemgr.c"> <ClCompile Include="..\interfacemgr.c">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="..\hooks.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\lib.c"> <ClCompile Include="..\lib.c">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
@ -68,6 +71,9 @@
<ClInclude Include="..\include\ns\interfacemgr.h"> <ClInclude Include="..\include\ns\interfacemgr.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="..\include\ns\hooks.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\include\ns\lib.h"> <ClInclude Include="..\include\ns\lib.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>

View File

@ -110,6 +110,7 @@
<ItemGroup> <ItemGroup>
<ClCompile Include="..\client.c" /> <ClCompile Include="..\client.c" />
<ClCompile Include="..\interfacemgr.c" /> <ClCompile Include="..\interfacemgr.c" />
<ClCompile Include="..\hooks.c" />
<ClCompile Include="..\lib.c" /> <ClCompile Include="..\lib.c" />
<ClCompile Include="..\listenlist.c" /> <ClCompile Include="..\listenlist.c" />
<ClCompile Include="..\log.c" /> <ClCompile Include="..\log.c" />
@ -126,6 +127,7 @@
<ItemGroup> <ItemGroup>
<ClInclude Include="..\include\ns\client.h" /> <ClInclude Include="..\include\ns\client.h" />
<ClInclude Include="..\include\ns\interfacemgr.h" /> <ClInclude Include="..\include\ns\interfacemgr.h" />
<ClInclude Include="..\include\ns\hooks.h" />
<ClInclude Include="..\include\ns\lib.h" /> <ClInclude Include="..\include\ns\lib.h" />
<ClInclude Include="..\include\ns\listenlist.h" /> <ClInclude Include="..\include\ns\listenlist.h" />
<ClInclude Include="..\include\ns\log.h" /> <ClInclude Include="..\include\ns\log.h" />