Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/msvc
diff options
context:
space:
mode:
authorJoao Matos <joao.matos@xamarin.com>2015-05-25 21:28:21 +0300
committerJoao Matos <joao.matos@xamarin.com>2015-05-25 21:39:45 +0300
commit6b9837010120a9f3946190aa42cac9cf723ebc70 (patch)
tree71d3ba574c56f308bcc68f0df6f2d2d96d0eea5b /msvc
parent2f97fa4262ac11396b17a2d4e81c0d29161a37ea (diff)
[windows] Prepare VS build properties for proper DLL export/import definitions.
Diffstat (limited to 'msvc')
-rw-r--r--msvc/mono.props2
1 files changed, 2 insertions, 0 deletions
diff --git a/msvc/mono.props b/msvc/mono.props
index f1d9b277fc6..23f0ec49c46 100644
--- a/msvc/mono.props
+++ b/msvc/mono.props
@@ -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>