Files
MINGW-packages/mingw-w64-git-git/0008-fix-mingw64-compat-wide-char.patch

34 lines
768 B
Diff

From 5a0eda23ec0737ce962ef740cad9d6f51814fd1a Mon Sep 17 00:00:00 2001
From: martell <martellmalone@gmail.com>
Date: Mon, 21 Jul 2014 21:10:25 +0100
Subject: [PATCH 08/16] fix mingw64 compat wide char
---
compat/mingw.h | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/compat/mingw.h b/compat/mingw.h
index 1f1b665..310f51c 100644
--- a/compat/mingw.h
+++ b/compat/mingw.h
@@ -1,14 +1,13 @@
+#include <stdint.h>
+#include <wchar.h>
#include <winsock2.h>
#include <ws2tcpip.h>
-
/*
* things that are not available in header files
*/
-typedef int pid_t;
typedef int uid_t;
typedef int socklen_t;
-#define hstrerror strerror
#define S_IFLNK 0120000 /* Symbolic link */
#define S_ISLNK(x) (((x) & S_IFMT) == S_IFLNK)
--
2.1.2