libressl-portable/patches/tls_util.c.patch

14 lines
293 B
Diff

--- tls/tls_util.c.orig Sun Mar 18 00:30:07 2018
+++ tls/tls_util.c Sun Mar 18 00:31:09 2018
@@ -17,6 +17,10 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#ifdef _MSC_VER
+#define NO_REDEF_POSIX_FUNCTIONS
+#endif
+
#include <sys/stat.h>
#include <stdlib.h>