on master help sign in
Windows compiles C files for static linkage
commit86ad7ebac0056015a33fbd7008eb84f8d1a27c4d authorMichael Snoyman <michael@snoyman.com> dateFri 7 Aug 2009, 13:57 (17 years ago) parente44fd50
2 files changed+3−1
c/yaml.h+2 yaml.cabal+1−1
c/yaml.h+2
@@ -26,6 +26,8 @@ extern "C" {
2626
2727/** The public API declaration. */
2828
29+#define YAML_DECLARE_STATIC
30+
2931#ifdef WIN32
3032# if defined(YAML_DECLARE_STATIC)
3133# define YAML_DECLARE(type) type
yaml.cabal+1−1
@@ -1,5 +1,5 @@
11name: yaml
2−version: 0.0.2
2+version: 0.0.3
33license: BSD3
44license-file: LICENSE
55author: Michael Snoyman <michael@snoyman.com>