fsm-listen-darwin: stub in backend for Darwin

Stub in empty implementation of fsmonitor--daemon
backend for Darwin (aka MacOS).

Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
This commit is contained in:
Jeff Hostetler
2020-12-17 10:41:07 -05:00
parent 91b26cc298
commit 59bf746352
3 changed files with 25 additions and 0 deletions

View File

@@ -266,6 +266,9 @@ endif()
if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
add_compile_definitions(HAVE_FSMONITOR_DAEMON_BACKEND)
list(APPEND compat_SOURCES compat/fsmonitor/fsm-listen-win32.c)
elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
add_compile_definitions(HAVE_FSMONITOR_DAEMON_BACKEND)
list(APPEND compat_SOURCES compat/fsmonitor/fsm-listen-darwin.c)
endif()
set(EXE_EXTENSION ${CMAKE_EXECUTABLE_SUFFIX})