From 52e34e2b73bef427dd85915199b7d97fc40d3aee Mon Sep 17 00:00:00 2001 From: Kirill Simonov Date: Sun, 29 May 2011 02:41:36 +0000 Subject: Use _WIN32 instead of WIN32 as the latter is not defined by Visual C. --- include/yaml.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.1