diff options
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/emacsclient.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index 237c398772c..870a39b9101 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c | |||
| @@ -45,6 +45,25 @@ Boston, MA 02110-1301, USA. */ | |||
| 45 | #include <signal.h> | 45 | #include <signal.h> |
| 46 | #include <errno.h> | 46 | #include <errno.h> |
| 47 | 47 | ||
| 48 | /* From lisp.h */ | ||
| 49 | #ifndef DIRECTORY_SEP | ||
| 50 | #define DIRECTORY_SEP '/' | ||
| 51 | #endif | ||
| 52 | #ifndef IS_DIRECTORY_SEP | ||
| 53 | #define IS_DIRECTORY_SEP(_c_) ((_c_) == DIRECTORY_SEP) | ||
| 54 | #endif | ||
| 55 | #ifndef IS_DEVICE_SEP | ||
| 56 | #ifndef DEVICE_SEP | ||
| 57 | #define IS_DEVICE_SEP(_c_) 0 | ||
| 58 | #else | ||
| 59 | #define IS_DEVICE_SEP(_c_) ((_c_) == DEVICE_SEP) | ||
| 60 | #endif | ||
| 61 | #endif | ||
| 62 | #ifndef IS_ANY_SEP | ||
| 63 | #define IS_ANY_SEP(_c_) (IS_DIRECTORY_SEP (_c_)) | ||
| 64 | #endif | ||
| 65 | |||
| 66 | |||
| 48 | 67 | ||
| 49 | char *getenv (), *getwd (); | 68 | char *getenv (), *getwd (); |
| 50 | char *(getcwd) (); | 69 | char *(getcwd) (); |