yaml 0.8.8.3 → 0.8.8.4
raw patch · 2 files changed
+11/−2 lines, 2 filesdep ~base
Dependency ranges changed: base
Files
- libyaml/api.c +10/−1
- yaml.cabal +1/−1
libyaml/api.c view
@@ -5,6 +5,15 @@ * Get the library version. */ +/*+ * added to support _WIN64+ */+#if _WIN64+#define STRDUP _strdup+#else+#define STRDUP strdup+#endif+ YAML_DECLARE(const char *) yaml_get_version_string(void) {@@ -63,7 +72,7 @@ if (!str) return NULL; - return (yaml_char_t *)strdup((char *)str);+ return (yaml_char_t *) STRDUP((char *)str); } /*
yaml.cabal view
@@ -1,5 +1,5 @@ name: yaml-version: 0.8.8.3+version: 0.8.8.4 license: BSD3 license-file: LICENSE author: Michael Snoyman <michael@snoyman.com>, Anton Ageev <antage@gmail.com>,Kirill Simonov