diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lisp.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/lisp.h b/src/lisp.h index e5b0c367ee2..02af5881ff9 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -1493,3 +1493,27 @@ extern char *egetenv (); | |||
| 1493 | 1493 | ||
| 1494 | /* Set up the name of the machine we're running on. */ | 1494 | /* Set up the name of the machine we're running on. */ |
| 1495 | extern void init_system_name (); | 1495 | extern void init_system_name (); |
| 1496 | |||
| 1497 | /* Some systems (e.g., NT) use a different path separator than Unix, | ||
| 1498 | in addition to a device separator. Default the path separator | ||
| 1499 | to '/', and don't test for a device separator in IS_ANY_SEP. */ | ||
| 1500 | |||
| 1501 | #ifndef DIRECTORY_SEP | ||
| 1502 | #define DIRECTORY_SEP '/' | ||
| 1503 | #endif | ||
| 1504 | #ifndef DEVICE_SEP | ||
| 1505 | #define DEVICE_SEP ':' | ||
| 1506 | #endif | ||
| 1507 | #ifndef IS_DIRECTORY_SEP | ||
| 1508 | #define IS_DIRECTORY_SEP(_c_) ((_c_) == DIRECTORY_SEP) | ||
| 1509 | #endif | ||
| 1510 | #ifndef IS_DEVICE_SEP | ||
| 1511 | #ifndef DEVICE_SEP | ||
| 1512 | #define IS_DEVICE_SEP(_c_) 0 | ||
| 1513 | #else | ||
| 1514 | #define IS_DEVICE_SEP(_c_) ((_c_) == DEVICE_SEP) | ||
| 1515 | #endif | ||
| 1516 | #endif | ||
| 1517 | #ifndef IS_ANY_SEP | ||
| 1518 | #define IS_ANY_SEP(_c_) (IS_DIRECTORY_SEP (_c_)) | ||
| 1519 | #endif | ||