20 |
|
|
21 |
|
#define access _access |
22 |
|
#define mkdir(dirname,perms) _mkdir(dirname) |
23 |
< |
#ifdef _MSC_VER |
23 |
> |
/* The windows _popen with the native shell breaks '\\\n' escapes. |
24 |
> |
* RT_WINPROC (used by SCons) enables our replacement functions to fix that. |
25 |
> |
* XXX This should really not depend on the compiler used! */ |
26 |
> |
#if defined(_MSC_VER) && !defined(RT_WINPROC) |
27 |
|
#define popen(cmd,mode) _popen(cmd,mode) |
28 |
|
#define pclose(p) _pclose(p) |
29 |
|
#else |
133 |
|
#if defined(_WIN32) || defined(_WIN64) |
134 |
|
extern FILE *win_popen(char *command, char *type); |
135 |
|
extern int win_pclose(FILE *p); |
136 |
< |
extern char *fixargv0(); |
136 |
> |
extern char *fixargv0(char *arg0); |
137 |
|
#endif |
138 |
|
|
139 |
|
/* Check if any of the characters in str2 are found in str1 */ |