diff options
author | Mark Brand <mabrand@mabrand.nl> | 2011-08-24 16:44:47 (GMT) |
---|---|---|
committer | Mark Brand <mabrand@mabrand.nl> | 2011-08-24 16:44:47 (GMT) |
commit | c54cb0274cf668293d71b617a7169200b1e59256 (patch) | |
tree | a1f76b052c52ecd57232cb04d896317e5c860342 /src/libdnet-1-fixes.patch | |
parent | 517df3a38933100332eba4a36c1a2029fc6f0181 (diff) | |
download | mxe-c54cb0274cf668293d71b617a7169200b1e59256.zip mxe-c54cb0274cf668293d71b617a7169200b1e59256.tar.gz mxe-c54cb0274cf668293d71b617a7169200b1e59256.tar.bz2 |
update package mingwrt
Diffstat (limited to 'src/libdnet-1-fixes.patch')
-rw-r--r-- | src/libdnet-1-fixes.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/libdnet-1-fixes.patch b/src/libdnet-1-fixes.patch new file mode 100644 index 0000000..a5337e6 --- /dev/null +++ b/src/libdnet-1-fixes.patch @@ -0,0 +1,29 @@ +This file is part of mingw-cross-env. +See doc/index.html for further information. + +Contains ad hoc patches for cross building. + +From 830ac87570520d72a173a351c082503c4d1b2911 Mon Sep 17 00:00:00 2001 +From: mingw-cross-env +Date: Wed, 24 Aug 2011 18:01:19 +0200 +Subject: [PATCH] do not redefine ssize_t + + +diff --git a/include/dnet/os.h b/include/dnet/os.h +index c12c7b2..9e8bdd2 100644 +--- a/include/dnet/os.h ++++ b/include/dnet/os.h +@@ -23,8 +23,10 @@ + typedef u_short uint16_t; + typedef u_int uint32_t; + # ifndef __CYGWIN__ ++# ifndef _SSIZE_T_ + typedef long ssize_t; + # endif ++# endif + #else + # include <sys/param.h> + # include <sys/types.h> +-- +1.7.6 + |