blob: 970d2af8e8de181c87b31d56e55145cd623f535b
1 | /* |
2 | * realpath.h - realpath() aware of device mapper |
3 | */ |
4 | |
5 | #ifndef REALPATH_H |
6 | #define REALPATH_H |
7 | |
8 | #ifdef HAVE_CONFIG_H |
9 | #include "config.h" |
10 | #endif |
11 | |
12 | #ifdef HAVE_REALPATH |
13 | #define ntfs_realpath realpath |
14 | #else |
15 | extern char *ntfs_realpath(const char *path, char *resolved_path); |
16 | #endif |
17 | |
18 | #ifdef linux |
19 | extern char *ntfs_realpath_canonicalize(const char *path, char *resolved_path); |
20 | #else |
21 | #define ntfs_realpath_canonicalize ntfs_realpath |
22 | #endif |
23 | |
24 | #endif /* REALPATH_H */ |
25 |