1 |
< |
/* Copyright (c) 1992 Regents of the University of California */ |
2 |
< |
|
3 |
< |
/* SCCSid "$SunId$ LBL" */ |
4 |
< |
|
1 |
> |
/* RCSid $Id$ */ |
2 |
|
/* |
3 |
|
* Definitions for paths on different machines |
4 |
|
*/ |
5 |
|
|
6 |
< |
#ifdef MSDOS |
6 |
> |
#include "copyright.h" |
7 |
|
|
8 |
+ |
#ifdef _WIN32 |
9 |
+ |
|
10 |
|
#define DIRSEP '/' |
11 |
|
#define ISDIRSEP(c) ((c)=='/' || (c)=='\\') |
12 |
|
#define CASEDIRSEP case '/': case '\\' |
58 |
|
#endif |
59 |
|
|
60 |
|
extern char *mktemp(), *getenv(); |
61 |
+ |
|
62 |
+ |
#ifdef BSD |
63 |
+ |
extern char *getwd(); |
64 |
+ |
#else |
65 |
+ |
extern char *getcwd(); |
66 |
+ |
#define getwd(p) getcwd(p, sizeof(p)) |
67 |
+ |
#endif |