Skip to content

Commit

Permalink
Updates defs for MingGW support on Windows
Browse files Browse the repository at this point in the history
addresses issue #52
  • Loading branch information
Anthony Hendrickson committed Mar 10, 2017
1 parent 300bd3f commit 119b7b6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/yaml.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 119b7b6

Please sign in to comment.