]> andersk Git - libyaml.git/commitdiff
Updates defs for MingGW support on Windows
authorAnthony Hendrickson <ahendrickson@ausinc.com>
Fri, 10 Mar 2017 21:12:57 +0000 (16:12 -0500)
committerGitHub <noreply@github.com>
Fri, 10 Mar 2017 21:12:57 +0000 (16:12 -0500)
addresses issue #52

include/yaml.h

index 4362145b97909d75edcc4c4e9e6fc9f6e36921a0..92f6b5cb2fe430d3c95145dbd65df07e83f23596 100644 (file)
@@ -26,7 +26,9 @@ extern "C" {
 
 /** The public API declaration. */
 
-#ifdef _WIN32
+#if defined(__MINGW32__)
+#   define  YAML_DECLARE(type)  type
+#elif defined(WIN32)
 #   if defined(YAML_DECLARE_STATIC)
 #       define  YAML_DECLARE(type)  type
 #   elif defined(YAML_DECLARE_EXPORT)
This page took 0.163403 seconds and 5 git commands to generate.