summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxi <xi@18f92427-320e-0410-9341-c67f048884a3>2011-05-29 02:41:36 +0000
committerxi <xi@18f92427-320e-0410-9341-c67f048884a3>2011-05-29 02:41:36 +0000
commit226a87414c76ef51214579fd6ee5da9106c3eb44 (patch)
tree179acb462b93cc129b07e7b828e022fa2f736ca7
parent350b12c40b15139c5d09b4200a12ff4093c4f0c7 (diff)
downloadlibyaml-226a87414c76ef51214579fd6ee5da9106c3eb44.tar.gz
Use _WIN32 instead of WIN32 as the latter is not defined by Visual C.
git-svn-id: http://svn.pyyaml.org/libyaml/branches/stable@372 18f92427-320e-0410-9341-c67f048884a3
-rw-r--r--include/yaml.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/yaml.h b/include/yaml.h
index 400cae1..5a04d36 100644
--- a/include/yaml.h
+++ b/include/yaml.h
@@ -26,7 +26,7 @@ extern "C" {
/** The public API declaration. */
-#ifdef WIN32
+#ifdef _WIN32
# if defined(YAML_DECLARE_STATIC)
# define YAML_DECLARE(type) type
# elif defined(YAML_DECLARE_EXPORT)