[windows] Prepare VS build properties for proper DLL export/import definitions.
authorJoao Matos <joao.matos@xamarin.com>
Mon, 25 May 2015 18:28:21 +0000 (19:28 +0100)
committerJoao Matos <joao.matos@xamarin.com>
Mon, 25 May 2015 18:39:45 +0000 (19:39 +0100)
msvc/mono.props

index f1d9b277fc67966a32d4c0f18a8df1f5095451d9..23f0ec49c4655646527a7753ec7930e516244356 100644 (file)
@@ -9,6 +9,8 @@
   </PropertyGroup>
   <ItemDefinitionGroup>
     <ClCompile>
+      <DllExportPreprocessorDefinitions>MONO_DLL_EXPORT</DllExportPreprocessorDefinitions>
+      <DllImportPreprocessorDefinitions>MONO_DLL_IMPORT</DllImportPreprocessorDefinitions>
       <PreprocessorDefinitions>__default_codegen__;_CRT_SECURE_NO_WARNINGS;_CRT_NONSTDC_NO_DEPRECATE;HAVE_CONFIG_H;GC_NOT_DLL;WIN32_THREADS;WINVER=0x0600;_WIN32_WINNT=0x0600;_WIN32_IE=0x0501;_UNICODE;UNICODE;WIN32_THREADS;FD_SETSIZE=1024;$(PreprocessorDefinitions);_WINSOCKAPI_</PreprocessorDefinitions>
          <DisableSpecificWarnings>4273;4005</DisableSpecificWarnings>
     </ClCompile>