aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/SocketProfilingConnection.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profiling/SocketProfilingConnection.hpp')
-rw-r--r--src/profiling/SocketProfilingConnection.hpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/profiling/SocketProfilingConnection.hpp b/src/profiling/SocketProfilingConnection.hpp
index 259ee131f1..a646c03d9c 100644
--- a/src/profiling/SocketProfilingConnection.hpp
+++ b/src/profiling/SocketProfilingConnection.hpp
@@ -1,5 +1,5 @@
//
-// Copyright © 2019 Arm Ltd. All rights reserved.
+// Copyright © 2019 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//
@@ -29,8 +29,13 @@ private:
// Read a full packet from the socket.
Packet ReceivePacket();
+#ifndef __APPLE__
// To indicate we want to use an abstract UDS ensure the first character of the address is 0.
const char* m_GatorNamespace = "\0gatord_namespace";
+#else
+ // MACOSX does not support abstract UDS
+ const char* m_GatorNamespace = "/tmp/gatord_namespace";
+#endif
armnnUtils::Sockets::PollFd m_Socket[1]{};
};