]> andersk Git - libyaml.git/blobdiff - include/yaml.h
Updates defs for MingGW support on Windows
[libyaml.git] / 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.024813 seconds and 4 git commands to generate.