commit | 97203c6e4fc7347bfef3bd6d4913e90bd46c7ecb | [log] [tgz] |
---|---|---|
author | John A Meinel <john@arbash-meinel.com> | Tue Mar 26 15:00:47 2013 +0400 |
committer | John Arbash Meinel <john@arbash-meinel.com> | Tue Mar 26 15:00:47 2013 +0400 |
tree | b4033feb5a443093f69530046a54b157368430e4 | |
parent | 0846a25da24891a7b3c725bc190493b5f7525db8 [diff] | |
parent | b01920c75e30179201b01633db246038b0226ce9 [diff] |
decode: add some flags for windows We are doing a static compile of libyaml, so set the YAML_STATIC_DECLARE compile macro. Also, strdup is only available in the common run time (CRT) as _strdup, so use another macro for that. We could do it in other ways if there is something more appropriate for the yaml library. Originally I was doing it in an #ifdef macro, but this makes it nice and minimal and doesn't touch the yaml files directly. R= CC= https://codereview.appspot.com/7719045