[win32] - fix missing preprocessor define for using 32bit time_t in
authorMemphiz <memphis@machzwo.de>
Wed, 10 Jul 2013 17:53:54 +0000 (19:53 +0200)
committerMemphiz <memphis@machzwo.de>
Wed, 10 Jul 2013 17:53:54 +0000 (19:53 +0200)
release target of vs project (fixes crashing with xbmc)

win32/libnfs/libnfs.vcxproj

index f0b938c5d300519a7e55a5b98cb3d2467c79c5fe..978eedd005c69bae06819806cedfdca94f30a37c 100644 (file)
@@ -149,7 +149,7 @@ rpcgen.exe -c $(ProjectDir)..\..\mount\libnfs-raw-mount.x &gt;  $(ProjectDir)..\
       <Optimization>MaxSpeed</Optimization>
       <FunctionLevelLinking>true</FunctionLevelLinking>
       <IntrinsicFunctions>true</IntrinsicFunctions>
-      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;_U_=;__STDC_CONSTANT_MACROS;ONCRPC_STATIC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;_U_=;_USE_32BIT_TIME_T;__STDC_CONSTANT_MACROS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
       <AdditionalIncludeDirectories>..\..\include\nfsc;..\..\include;..\..\.;..\..\win32;..\..\mount;..\..\nfs;..\..\lib</AdditionalIncludeDirectories>
       <DisableSpecificWarnings>4996</DisableSpecificWarnings>
     </ClCompile>