[profile] Avoid unused variable warning.

llvm-svn: 270969
This commit is contained in:
Sean Silva 2016-05-27 06:15:13 +00:00
parent 5079f3b727
commit e5e819b7d7
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@
#ifdef _MSC_VER
#define COMPILER_RT_GETHOSTNAME(Name, Len) gethostname(Name, Len)
#elif defined(__ORBIS__)
#define COMPILER_RT_GETHOSTNAME(Name, Len) (-1)
#define COMPILER_RT_GETHOSTNAME(Name, Len) ((void)(Name), (void)(Len), (-1))
#else
#define COMPILER_RT_GETHOSTNAME(Name, Len) lprofGetHostName(Name, Len)
#define COMPILER_RT_HAS_UNAME 1