]>
Commit | Line | Data |
---|---|---|
de5505a7 JB |
1 | --- loaddap-3.7.2/loaddap.c.orig 2012-05-31 19:22:55.000000000 +0200 |
2 | +++ loaddap-3.7.2/loaddap.c 2014-03-15 12:32:55.367212832 +0100 | |
3 | @@ -64,6 +64,7 @@ | |
4 | #define ARCH_GLNX86 | |
5 | #endif | |
6 | ||
7 | +#include <stdio.h> | |
8 | #include <string.h> | |
9 | #include <errno.h> | |
10 | #ifdef WIN32 | |
11 | --- loaddap-3.7.2/extend.c.orig 2012-05-31 19:22:55.000000000 +0200 | |
12 | +++ loaddap-3.7.2/extend.c 2014-03-15 12:36:26.140537321 +0100 | |
13 | @@ -46,6 +46,7 @@ | |
14 | ||
15 | static char id[]= { "$Id: extend.c 21443 2009-09-02 08:52:42Z dan $" }; | |
16 | ||
17 | +/* cannot use <stdbool.h>, it conflicts with mex.h for C */ | |
18 | #include <stdio.h> | |
19 | #include <string.h> | |
20 | ||
21 | @@ -840,7 +841,7 @@ | |
22 | int status, nFields, idx, i, j; | |
23 | int numUniqueVariables; | |
24 | int start, next, count; | |
25 | - bool Found = false; | |
26 | + bool Found = FALSE; | |
27 | const char *name; | |
28 | MLVars *structArray; | |
29 | mxArray *ret_array; | |
30 | @@ -875,7 +876,7 @@ | |
31 | #endif | |
32 | for (i=0; i<count; i++) { | |
33 | if (strcmp(names[i], name)==0) { | |
34 | - Found = true; | |
35 | + Found = TRUE; | |
36 | } | |
37 | } | |
38 | if ( !Found ) { | |
39 | --- loaddap-3.7.2/process_values.c.orig 2012-05-31 19:22:54.000000000 +0200 | |
40 | +++ loaddap-3.7.2/process_values.c 2014-03-15 12:36:47.487203091 +0100 | |
41 | @@ -44,6 +44,7 @@ | |
42 | static char id[] not_used = {"$Id: process_values.c 21569 2009-09-30 04:12:29Z jimg $"}; | |
43 | ||
44 | #include <errno.h> | |
45 | +#include <stdio.h> | |
46 | #include <string.h> | |
47 | ||
48 | #include <mex.h> |