diff options
| author | Karoly Lorentey | 2006-04-01 12:54:10 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2006-04-01 12:54:10 +0000 |
| commit | 6bcc8ec7eb185314e1b24f285fdcc1e7093c1bc1 (patch) | |
| tree | 82e905503bd7b655473878908625615e3d795705 | |
| parent | dc4a4a14333208dc2519888c0d5ccfc53783073d (diff) | |
| download | emacs-6bcc8ec7eb185314e1b24f285fdcc1e7093c1bc1.tar.gz emacs-6bcc8ec7eb185314e1b24f285fdcc1e7093c1bc1.zip | |
Fix OpenBSD compilation some more. (Fix by Han Boetes.)
* lib-src/emacsclient.c: Copy IS_*_SEP definitions from lisp.h.
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-541
| -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) (); |