X-Git-Url: http://andersk.mit.edu/gitweb/libyaml.git/blobdiff_plain/c9b74def08ff0fcac2f1466652b432e4c3129b35..e4fd0393e6e97439666527db71c1fa18482778a7:/include/yaml.h diff --git a/include/yaml.h b/include/yaml.h index d0fe93c..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) @@ -1680,6 +1680,8 @@ typedef struct yaml_emitter_s { int whitespace; /** If the last character was an indentation character (' ', '-', '?', ':')? */ int indention; + /** If an explicit document end is required? */ + int open_ended; /** Anchor analysis. */ struct {