Browse Source

Checked for more BSDs

Explanation at https://www.dragonflybsd.org/docs/howtos/howtoporttodragonfly/#index7h3
merge-requests/365/head
Vipul S. Chawathe 10 years ago committed by eidheim
parent
commit
c143af279b
  1. 2
      src/git.cc

2
src/git.cc

@ -104,7 +104,7 @@ Git::Repository::Repository(const boost::filesystem::path &path) {
auto git_path_str=boost::filesystem::canonical(get_path()).string();
auto git_directory=Glib::wrap(g_file_new_for_path(git_path_str.c_str())); //TODO: report missing constructor in giomm
#if defined(__FreeBSD__)
#if defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__Darwin__) || defined(__DragonFly__)
monitor=git_directory->monitor_directory(Gio::FileMonitorFlags::FILE_MONITOR_SEND_MOVED);
#else
#if GLIBMM_MAJOR_VERSION>2 || (GLIBMM_MAJOR_VERSION==2 && GLIBMM_MINOR_VERSION>=44)

Loading…
Cancel
Save