summaryrefslogtreecommitdiffstats
path: root/windows/misc
diff options
context:
space:
mode:
authorScott Wegner <swegner@hdfgroup.org>2008-05-29 19:19:30 (GMT)
committerScott Wegner <swegner@hdfgroup.org>2008-05-29 19:19:30 (GMT)
commitebd6e8a9c63827b220a716ba0d08569161559b7e (patch)
treecd924c5a5728bd6eb6b8ec405a7b25b5a5b0ebb0 /windows/misc
parent735967fb125e46772c86ddcfad232f0b242f922a (diff)
downloadhdf5-ebd6e8a9c63827b220a716ba0d08569161559b7e.zip
hdf5-ebd6e8a9c63827b220a716ba0d08569161559b7e.tar.gz
hdf5-ebd6e8a9c63827b220a716ba0d08569161559b7e.tar.bz2
[svn-r15096] Purpose: Windows Project Cleanup-- Unify Windows h5tinit
Description: Previously, there was Windows-dependent code inside H5detect.c, because not all projects could access the gethostname() function. However, we standardize our project-files to link with WS2_32.lib, so now this function is available. Thus, the Windows-specific code has been removed from H5detect.c. Tested: VS2005 on WinXP VS.NET on WinXP no need to test other platforms, Windows-specific source change
Diffstat (limited to 'windows/misc')
-rw-r--r--windows/misc/typegen/h5tinit/h5tinit.vcproj6
1 files changed, 4 insertions, 2 deletions
diff --git a/windows/misc/typegen/h5tinit/h5tinit.vcproj b/windows/misc/typegen/h5tinit/h5tinit.vcproj
index 9df7133..db8f012 100644
--- a/windows/misc/typegen/h5tinit/h5tinit.vcproj
+++ b/windows/misc/typegen/h5tinit/h5tinit.vcproj
@@ -73,6 +73,7 @@
/>
<Tool
Name="VCLinkerTool"
+ AdditionalDependencies="WS2_32.lib"
OutputFile="$(OutDir)\$(ProjectName).exe"
LinkIncremental="0"
SuppressStartupBanner="true"
@@ -164,6 +165,7 @@
/>
<Tool
Name="VCLinkerTool"
+ AdditionalDependencies="WS2_32.lib"
OutputFile="$(OutDir)\$(ProjectName).exe"
LinkIncremental="0"
SuppressStartupBanner="true"
@@ -253,7 +255,7 @@
/>
<Tool
Name="VCLinkerTool"
- AdditionalDependencies="odbc32.lib odbccp32.lib WS2_32.lib"
+ AdditionalDependencies="WS2_32.lib"
OutputFile="$(OutDir)\$(ProjectName).exe"
LinkIncremental="0"
SuppressStartupBanner="true"
@@ -345,7 +347,7 @@
/>
<Tool
Name="VCLinkerTool"
- AdditionalDependencies="odbc32.lib odbccp32.lib WS2_32.lib"
+ AdditionalDependencies="WS2_32.lib"
OutputFile="$(OutDir)\$(ProjectName).exe"
LinkIncremental="0"
SuppressStartupBanner="true"