Update net/multicat to version 2.2
[dports.git] / sysutils / dateutils / files / patch-src__prchunk.c
CommitLineData
f68d64d1
DB
1--- ./src/prchunk.c.orig 2014-01-29 10:08:23.000000000 -0500
2+++ ./src/prchunk.c 2014-03-27 23:53:01.000000000 -0400
3@@ -61,9 +61,13 @@
4 #define MAX_NLINES (16384)
5 #define MAX_LLEN (1024)
6
7-#if !defined MAP_ANONYMOUS && defined MAP_ANON
8-# define MAP_ANONYMOUS (MAP_ANON)
9-#endif /* MAP_ANON->MAP_ANONYMOUS */
10+#ifndef MAP_ANONYMOUS
11+#define MAP_ANONYMOUS 0x1000
12+#endif
13+
14+#ifndef MAP_ANON
15+#define MAP_ANON 0x1000
16+#endif
17
18 #if defined __INTEL_COMPILER
19 # pragma warning(disable: 981)