Prevent CSRI helper library from causing linking apps (like aegisub.exe) to export symbols.

Originally committed to SVN as r5184.
This commit is contained in:
Niels Martin Hansen 2011-01-14 02:05:01 +00:00
parent 8b58a63bd5
commit 6490faa5c5
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<PreprocessorDefinitions>CSRI_NO_EXPORT;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(SrcDir)include\;$(SrcDir)lib\;$(SrcDir)lib\win32\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
</ItemDefinitionGroup>

View file

@ -26,7 +26,7 @@
#include "acconf.h"
#endif
#ifdef _WIN32
#if defined(_WIN32) && !defined(CSRI_NO_EXPORT)
#define export __declspec(dllexport)
#define internal
#define hidden