From 5d84ade49223b7f8f7667152677e8642b4608c57 Mon Sep 17 00:00:00 2001 From: Christian Beier Date: Fri, 28 Dec 2018 22:30:54 +0100 Subject: Revert "AppVeyorCI: update cyrus-sasl to 2.1.27, remove patch" This reverts commit bcd3eaeb83181ab5491aa6d641e2a7b8d424d88a. --- deps/sasl-fix-snprintf-macro.patch | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 deps/sasl-fix-snprintf-macro.patch (limited to 'deps') diff --git a/deps/sasl-fix-snprintf-macro.patch b/deps/sasl-fix-snprintf-macro.patch new file mode 100644 index 0000000..26b5da4 --- /dev/null +++ b/deps/sasl-fix-snprintf-macro.patch @@ -0,0 +1,26 @@ +From 310579a87a289588cf8c45587354a90973978510 Mon Sep 17 00:00:00 2001 +From: "Montazeri, Mehrdad" +Date: Wed, 31 Jan 2018 09:25:08 -0800 +Subject: [PATCH 2/2] fix snprintf macro + +--- + win32/include/config.h | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/win32/include/config.h b/win32/include/config.h +index 8d8548e..304a4a9 100644 +--- a/win32/include/config.h ++++ b/win32/include/config.h +@@ -117,7 +117,9 @@ typedef int intptr_t; + /* Windows calls these functions something else + */ + #define strcasecmp stricmp ++#if defined (_MSC_VER) && (_MSC_VER < 1900) + #define snprintf _snprintf ++#endif + #define strncasecmp strnicmp + + #define MAXHOSTNAMELEN 1024 +-- +2.11.0.windows.3 + -- cgit v1.2.1