on master help sign in
Refined to ensure that redefinition only occurs in Win64 (mingw-w64)
commit2ec03dfa2e345c69afea2d8f287c3bd12fd3437a authorStuart Mills <smills@systems-dev.com> dateTue 17 Jun 2014, 15:15 (12 years ago) parentb9eaa40
1 file changed+2−2
libyaml/api.c+2−2
libyaml/api.c+2−2
@@ -5,9 +5,9 @@
55 * Get the library version.
66 */
77
8−#if __x86_64__
8+#if _WIN64
99#define STRDUP _strdup
10−#pragma message ("64 bits")
10+#pragma message ("Windows 64 bits")
1111#else
1212#define STRDUP strdup
1313#pragma message "32 bits"