| 92 |
|
#ifndef DEFPATH |
| 93 |
|
#define DEFPATH ";/ray/lib" |
| 94 |
|
#endif |
| 95 |
– |
#define fixargv0(a0) (a0) |
| 95 |
|
|
| 96 |
|
#else |
| 97 |
|
|
| 113 |
|
#define SPECIALS " \t\n'\"()${}*?[];|&" |
| 114 |
|
#define QUOTCHAR '\'' |
| 115 |
|
#define ALTQUOT '"' |
| 117 |
– |
#define fixargv0(a0) (a0) |
| 116 |
|
|
| 117 |
|
#endif |
| 118 |
|
#endif |
| 131 |
|
#if defined(_WIN32) || defined(_WIN64) |
| 132 |
|
extern FILE *win_popen(char *command, char *type); |
| 133 |
|
extern int win_pclose(FILE *p); |
| 136 |
– |
extern char *fixargv0(char *arg0); |
| 134 |
|
#endif |
| 135 |
+ |
|
| 136 |
+ |
/* Set global progname and return path-free version of argv[0] */ |
| 137 |
+ |
extern char *fixargv0(char *arg0); |
| 138 |
+ |
extern char *progname; |
| 139 |
|
|
| 140 |
|
/* Check if any of the characters in str2 are found in str1 */ |
| 141 |
|
extern int matchany(const char *str1, const char *str2); |