Skip to content
This repository
Browse code

[fix] - vs2010 project for libnfs

  • Loading branch information...
commit f650a138b6c21bb2a74a2254f7f288dfdd3245fa 1 parent 20a96d4
Memphiz authored September 12, 2011

Showing 1 changed file with 5 additions and 4 deletions. Show diff stats Hide diff stats

  1. 9  win32/libnfs/libnfs.vcxproj
9  win32/libnfs/libnfs.vcxproj
@@ -19,13 +19,13 @@
19 19
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
20 20
     <ConfigurationType>DynamicLibrary</ConfigurationType>
21 21
     <UseDebugLibraries>true</UseDebugLibraries>
22  
-    <CharacterSet>Unicode</CharacterSet>
  22
+    <CharacterSet>MultiByte</CharacterSet>
23 23
   </PropertyGroup>
24 24
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
25 25
     <ConfigurationType>DynamicLibrary</ConfigurationType>
26 26
     <UseDebugLibraries>false</UseDebugLibraries>
27 27
     <WholeProgramOptimization>true</WholeProgramOptimization>
28  
-    <CharacterSet>Unicode</CharacterSet>
  28
+    <CharacterSet>MultiByte</CharacterSet>
29 29
   </PropertyGroup>
30 30
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
31 31
   <ImportGroup Label="ExtensionSettings">
@@ -53,7 +53,7 @@
53 53
       </PrecompiledHeader>
54 54
       <WarningLevel>Level3</WarningLevel>
55 55
       <Optimization>Disabled</Optimization>
56  
-      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;_WIN32_WINNT=0x0501;_U_=;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  56
+      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;_WIN32_WINNT=0x0501;_U_=;_USE_32BIT_TIME_T;__STDC_CONSTANT_MACROS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
57 57
       <AdditionalIncludeDirectories>..\..\..\oncrpc-win32\win32\include;..\..\include;..\..\.;..\..\win32;..\..\mount;..\..\nfs;..\..\lib</AdditionalIncludeDirectories>
58 58
       <CompileAs>Default</CompileAs>
59 59
       <DisableSpecificWarnings>4996</DisableSpecificWarnings>
@@ -63,6 +63,7 @@
63 63
       <GenerateDebugInformation>true</GenerateDebugInformation>
64 64
       <ModuleDefinitionFile>..\..\lib\libnfs-win32.def</ModuleDefinitionFile>
65 65
       <AdditionalDependencies>oncrpc.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
  66
+      <IgnoreSpecificDefaultLibraries>MSVCRT</IgnoreSpecificDefaultLibraries>
66 67
     </Link>
67 68
     <PreBuildEvent>
68 69
       <Command>copy $(ProjectDir)..\..\nfs\nfs.x $(ProjectDir)..\..\nfs\libnfs-raw-nfs.x
@@ -90,7 +91,7 @@ rpcgen.exe -c $(ProjectDir)..\..\mount\libnfs-raw-mount.x &gt;  $(ProjectDir)..\
90 91
       <Optimization>MaxSpeed</Optimization>
91 92
       <FunctionLevelLinking>true</FunctionLevelLinking>
92 93
       <IntrinsicFunctions>true</IntrinsicFunctions>
93  
-      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;_WIN32_WINNT=0x0501;_U_=;%(PreprocessorDefinitions)</PreprocessorDefinitions>
  94
+      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;_WIN32_WINNT=0x0501;_U_=;_USE_32BIT_TIME_T;__STDC_CONSTANT_MACROS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
94 95
       <AdditionalIncludeDirectories>..\..\..\oncrpc-win32\win32\include;..\..\include;..\..\.;..\..\win32;..\..\mount;..\..\nfs;..\..\lib</AdditionalIncludeDirectories>
95 96
       <DisableSpecificWarnings>4996</DisableSpecificWarnings>
96 97
     </ClCompile>

0 notes on commit f650a13

Please sign in to comment.
Something went wrong with that request. Please try again.