diff options
Diffstat (limited to 'lib/profile/InstrProfilingPort.h')
-rw-r--r-- | lib/profile/InstrProfilingPort.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/profile/InstrProfilingPort.h b/lib/profile/InstrProfilingPort.h index a945f97e6..d6e063e57 100644 --- a/lib/profile/InstrProfilingPort.h +++ b/lib/profile/InstrProfilingPort.h @@ -25,6 +25,8 @@ #define COMPILER_RT_MAX_HOSTLEN 128 #ifdef _MSC_VER #define COMPILER_RT_GETHOSTNAME(Name, Len) gethostname(Name, Len) +#elif defined(__PS4__) +#define COMPILER_RT_GETHOSTNAME(Name, Len) (-1) #else #define COMPILER_RT_GETHOSTNAME(Name, Len) GetHostName(Name, Len) #define COMPILER_RT_HAS_UNAME 1 |