# | Line 2 | Line 2 | |
---|---|---|
2 | /* | |
3 | * Definitions for paths on different machines | |
4 | */ | |
5 | + | #ifndef _RAD_PATHS_H_ |
6 | + | #define _RAD_PATHS_H_ |
7 | + | #ifdef __cplusplus |
8 | + | extern "C" { |
9 | + | #endif |
10 | ||
11 | #include "copyright.h" | |
12 | ||
13 | < | #ifdef MSDOS |
13 | > | #ifdef _WIN32 |
14 | ||
15 | #define DIRSEP '/' | |
16 | #define ISDIRSEP(c) ((c)=='/' || (c)=='\\') | |
# | Line 65 | Line 70 | extern char *getwd(); | |
70 | extern char *getcwd(); | |
71 | #define getwd(p) getcwd(p, sizeof(p)) | |
72 | #endif | |
73 | + | |
74 | + | |
75 | + | #ifdef __cplusplus |
76 | + | } |
77 | + | #endif |
78 | + | #endif /* _RAD_PATHS_H_ */ |
79 | + |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |