From c143af279b1fd2e4f50422c4edd4037811e901f7 Mon Sep 17 00:00:00 2001 From: "Vipul S. Chawathe" Date: Sat, 23 Jul 2016 20:35:13 +0000 Subject: [PATCH] Checked for more BSDs Explanation at https://www.dragonflybsd.org/docs/howtos/howtoporttodragonfly/#index7h3 --- src/git.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/git.cc b/src/git.cc index 6d0666e..9e4599b 100644 --- a/src/git.cc +++ b/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)