diff --git a/EventVisualisation/Workflow/CMakeLists.txt b/EventVisualisation/Workflow/CMakeLists.txt index cd4ca9cc0ff4f..e1de05e9fab7e 100644 --- a/EventVisualisation/Workflow/CMakeLists.txt +++ b/EventVisualisation/Workflow/CMakeLists.txt @@ -15,7 +15,6 @@ if(ALIGPU_BUILD_TYPE STREQUAL "O2" AND GLFW_FOUND AND TARGET AliceO2::DebugGUI AND OPENGL_GLU_FOUND - AND NOT CMAKE_SYSTEM_NAME STREQUAL "Darwin" ) o2_add_executable(display COMPONENT_NAME eve diff --git a/EventVisualisation/Workflow/src/O2DPLDisplay.cxx b/EventVisualisation/Workflow/src/O2DPLDisplay.cxx index 83f270ac78df7..7c59611128477 100644 --- a/EventVisualisation/Workflow/src/O2DPLDisplay.cxx +++ b/EventVisualisation/Workflow/src/O2DPLDisplay.cxx @@ -138,8 +138,8 @@ WorkflowSpec defineDataProcessing(ConfigContext const& cfgc) o2::conf::ConfigurableParam::updateFromString(cfgc.options().get("configKeyValues")); bool useMC = cfgc.options().get("enable-mc") && !cfgc.options().get("disable-mc"); - char hostname[HOST_NAME_MAX]; - gethostname(hostname, HOST_NAME_MAX); + char hostname[_POSIX_HOST_NAME_MAX]; + gethostname(hostname, _POSIX_HOST_NAME_MAX); bool eveHostNameMatch = eveHostName.empty() || eveHostName == hostname; int eveDDSColIdx = cfgc.options().get("eve-dds-collection-index");