multiarch: fix support for kfreebsd and hurd
authorYangfl <mmyangfl@gmail.com>
Tue, 12 Dec 2017 08:47:45 +0000 (16:47 +0800)
committerYangfl <mmyangfl@gmail.com>
Tue, 12 Dec 2017 09:19:32 +0000 (17:19 +0800)
commit09cc0710e823b620f91a39238b63e9c6442b1ef8
treecc86c9ede2434053ea7914bf3db36e74c494dba0
parentf70e500ec2fd5c751e40833bdc4df586614bcff2
multiarch: fix support for kfreebsd and hurd

Currently DFileSystemWatcher does not actually support non-Linux
platforms but provides a dummy file for win* and mac*, while
unconsidered condition prevents the entire library from building on
kFreebsd and Hurd, which are parts of platforms supported by Debian
project.

Resolves: https://bugs.debian.org/874137

Change-Id: I5ff455e8b1497492132599309ee9d5760b63694b
src/filesystem/dfilesystemwatcher_dummy.cpp [new file with mode: 0644]
src/filesystem/filesystem.pri
src/filesystem/private/dfilesystemwatcher_dummy_p.h [new file with mode: 0644]