diff options
author | Kirill Simonov <xi@resolvent.net> | 2011-05-29 02:41:36 +0000 |
---|---|---|
committer | Kirill Simonov <xi@resolvent.net> | 2011-05-29 02:41:36 +0000 |
commit | 52e34e2b73bef427dd85915199b7d97fc40d3aee (patch) | |
tree | 179acb462b93cc129b07e7b828e022fa2f736ca7 | |
parent | 3b160b6028f8137d32a4d0c6360f7ab1a2226cbf (diff) | |
download | libyaml-git-52e34e2b73bef427dd85915199b7d97fc40d3aee.tar.gz |
Use _WIN32 instead of WIN32 as the latter is not defined by Visual C.
-rw-r--r-- | include/yaml.h | 2 |
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) |