From: Mikko Johannes Koivunalho Date: Fri, 13 Sep 2019 20:31:04 +0000 (+0200) Subject: Add better explanation for '#define CK_DLL_EXP' X-Git-Tag: 0.13.0~5^2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cf07d2362d7dda7661427c24ee960e93340f5b20;p=check Add better explanation for '#define CK_DLL_EXP' --- diff --git a/src/check.h.in b/src/check.h.in index ac86d9b..0c6aa2c 100644 --- a/src/check.h.in +++ b/src/check.h.in @@ -93,6 +93,15 @@ CK_CPPSTART * Used for MSVC to create the export attribute * CK_DLL_EXP is defined during the compilation of the library * on the command line. + * + * This definition is only used when building or linking to + * the shared library, i.e. libcheck.so. When building the library + * the value must be "_declspec(dllexport)". + * When linking with the library, the value must be "_declspec(dllimport)" + * + * This is only used with Microsoft Visual C. In other systems + * the value is empty. In MSVC the value is empty when linking with + * a static library. */ #ifndef CK_DLL_EXP #define CK_DLL_EXP