X-Git-Url: http://andersk.mit.edu/gitweb/libyaml.git/blobdiff_plain/c45550e5cf265bf6877cad127faa9854851e291e..5070705b069f4732344021baa7d4baf3c7ac04e3:/src/yaml_private.h diff --git a/src/yaml_private.h b/src/yaml_private.h index eb72207..b3351c4 100644 --- a/src/yaml_private.h +++ b/src/yaml_private.h @@ -1,5 +1,5 @@ #if HAVE_CONFIG_H -#include +#include "config.h" #endif #include @@ -171,14 +171,14 @@ yaml_string_join( * Check the octet at the specified position. */ -#define CHECK_AT(string,octet,offset) \ +#define CHECK_AT(string,octet,offset) \ ((string).pointer[offset] == (yaml_char_t)(octet)) /* * Check the current octet in the buffer. */ -#define CHECK(string,octet) CHECK_AT((string),(octet),0) +#define CHECK(string,octet) (CHECK_AT((string),(octet),0)) /* * Check if the character at the specified position is an alphabetical