diff --git a/src/client/gkfs_functions.cpp b/src/client/gkfs_functions.cpp index f46e57b9349790113f5ba8486ef36d268d2fd7a1..64dc15555f1ba0c9048a2584aab643f2fd2cb188 100644 --- a/src/client/gkfs_functions.cpp +++ b/src/client/gkfs_functions.cpp @@ -666,7 +666,7 @@ int gkfs_readlink(const std::string& path, char* buf, int bufsize) { return path_size; } +#endif + } // namespace syscall } // namespace gkfs - -#endif \ No newline at end of file diff --git a/src/global/metadata.cpp b/src/global/metadata.cpp index 67ac72063bcc8bea70d5d87ee964f8d67cce04af..6f56fa26c13b369b475622e228573cba75723feb 100644 --- a/src/global/metadata.cpp +++ b/src/global/metadata.cpp @@ -252,8 +252,7 @@ void Metadata::target_path(const std::string& target_path) { bool Metadata::is_link() const { return S_ISLNK(mode_); } +#endif } // namespace metadata } // namespace gkfs - -#endif