on master help sign in
Merge pull request #40 from bkaes/master

Fix YAML_DECLARE macro for MINGW32 architecture.

commitf92ea5c4d51c788925fd5b90f4a475b1dc8e4cc6 authorMichael Snoyman <michael@snoyman.com> dateFri 7 Feb 2014, 04:48 (13 years ago) parentd9b485022dee7b
1 file changed+3−1
libyaml/yaml.h+3−1
libyaml/yaml.h+3−1
@@ -26,7 +26,9 @@ extern "C" {
2626
2727/** The public API declaration. */
2828
29−#ifdef _WIN32
29+#if defined(__MINGW32__)
30+# define YAML_DECLARE(type) type
31+#elif defined(_WIN32)
3032# if defined(YAML_DECLARE_STATIC)
3133# define YAML_DECLARE(type) type
3234# elif defined(YAML_DECLARE_EXPORT)