Commit 3c5a5f5c authored by Ramon Nou's avatar Ramon Nou
Browse files

Solve ifdef SYMLINKS issue

parent cc19b037
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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
+1 −2
Original line number Diff line number Diff line
@@ -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