id	summary	reporter	owner	description	type	status	priority	component	severity	resolution	keywords	cc
71	libyaml does not build with MinGW	clive.crous@…	xi	"I'm unable to build libyaml under MinGW due to assumtions within the source code that ""WIN32"" means Visual Studio. I use gcc, even in windows.

Simple patch to [source:libyaml/trunk/include/yaml.h#260 yaml.h#260] fixes this =>

{{{
#!diff
--- yaml.h
+++ yaml.h
@@ -26,7 +26,7 @@

 /** The public API declaration. */

-#ifdef WIN32
+#if defined(WIN32) && !defined(__GNUC__)
 #   if defined(YAML_DECLARE_STATIC)
 #       define  YAML_DECLARE(type)  type
 #   elif defined(YAML_DECLARE_EXPORT)
}}}

Thanks,
Clive"	defect	closed	normal	libyaml	normal	wontfix		
