annotate Resources/Patches/mongoose-3.8-patch.diff @ 1841:5d8134e54c03

DICOM_TAG_SERIES_TYPE
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 30 Nov 2015 12:05:55 +0100
parents a119f9ae3640
children 8f2bda0719f4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1112
a119f9ae3640 upgrade to Mongoose 3.8
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1 --- mongoose.c.orig 2014-09-01 11:25:18.223466994 +0200
a119f9ae3640 upgrade to Mongoose 3.8
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
2 +++ mongoose.c 2014-09-01 11:30:21.807479338 +0200
a119f9ae3640 upgrade to Mongoose 3.8
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
3 @@ -50,6 +50,14 @@
a119f9ae3640 upgrade to Mongoose 3.8
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
4 #define PATH_MAX FILENAME_MAX
a119f9ae3640 upgrade to Mongoose 3.8
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
5 #endif // __SYMBIAN32__
a119f9ae3640 upgrade to Mongoose 3.8
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
6
a119f9ae3640 upgrade to Mongoose 3.8
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
7 +#if __gnu_hurd__ == 1
a119f9ae3640 upgrade to Mongoose 3.8
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
8 +/**
a119f9ae3640 upgrade to Mongoose 3.8
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
9 + * There is no limit on the length on a path under GNU Hurd, so we set
a119f9ae3640 upgrade to Mongoose 3.8
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
10 + * it to an arbitrary constant.
a119f9ae3640 upgrade to Mongoose 3.8
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
11 + **/
a119f9ae3640 upgrade to Mongoose 3.8
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
12 +#define PATH_MAX 4096
a119f9ae3640 upgrade to Mongoose 3.8
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
13 +#endif
a119f9ae3640 upgrade to Mongoose 3.8
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
14 +
a119f9ae3640 upgrade to Mongoose 3.8
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
15 #ifndef _WIN32_WCE // Some ANSI #includes are not available on Windows CE
a119f9ae3640 upgrade to Mongoose 3.8
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
16 #include <sys/types.h>
a119f9ae3640 upgrade to Mongoose 3.8
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
17 #include <sys/stat.h>
a119f9ae3640 upgrade to Mongoose 3.8
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
18 @@ -108,8 +116,9 @@
a119f9ae3640 upgrade to Mongoose 3.8
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
19 #define strtoll(x, y, z) _atoi64(x)
a119f9ae3640 upgrade to Mongoose 3.8
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
20 #else
a119f9ae3640 upgrade to Mongoose 3.8
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
21 #define __func__ __FUNCTION__
a119f9ae3640 upgrade to Mongoose 3.8
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
22 -#define strtoull(x, y, z) _strtoui64(x, y, z)
a119f9ae3640 upgrade to Mongoose 3.8
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
23 -#define strtoll(x, y, z) _strtoi64(x, y, z)
a119f9ae3640 upgrade to Mongoose 3.8
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
24 +#include <stdlib.h>
a119f9ae3640 upgrade to Mongoose 3.8
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
25 +//#define strtoull(x, y, z) _strtoui64(x, y, z)
a119f9ae3640 upgrade to Mongoose 3.8
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
26 +//#define strtoll(x, y, z) _strtoi64(x, y, z)
a119f9ae3640 upgrade to Mongoose 3.8
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
27 #endif // _MSC_VER
a119f9ae3640 upgrade to Mongoose 3.8
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
28
a119f9ae3640 upgrade to Mongoose 3.8
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
29 #define ERRNO GetLastError()