10 #include <ecl/filesystem/config.hpp> 12 #if defined(ECL_PRIVATE_HAS_POSIX_REALPATH) 24 #include "../../include/ecl/filesystem/realpath.hpp" 42 path_max = pathconf(path, _PC_PATH_MAX);
43 if (path_max <= 0) { path_max = 4096; }
46 char buffer[path_max];
47 char *result = ::realpath(path.c_str(), buffer);
48 absolute_path = buffer;
49 if ( result != NULL ) {
50 absolute_path = buffer;
#define ecl_filesystem_PUBLIC