on master help sign in
Windows compiles C files for static linkage
86ad7ebMichael Snoyman
@@ -26,6 +26,8 @@ extern "C" {
26
26
27/** The public API declaration. */
27/** The public API declaration. */
28
28
29+#define YAML_DECLARE_STATIC
30+
29#ifdef WIN32
31#ifdef WIN32
30# if defined(YAML_DECLARE_STATIC)
32# if defined(YAML_DECLARE_STATIC)
31# define YAML_DECLARE(type) type
33# define YAML_DECLARE(type) type
yaml.cabal+1−1
@@ -1,5 +1,5 @@
1name: yaml
1name: yaml
2−version: 0.0.2
2+version: 0.0.3
3license: BSD3
3license: BSD3
4license-file: LICENSE
4license-file: LICENSE
5author: Michael Snoyman <michael@snoyman.com>
5author: Michael Snoyman <michael@snoyman.com>