This revision was automatically updated to reflect the committed changes. Closed by commit rL353918: [profile] Provide lprofGetHostName for all windows environments (authored by mstorsjo, committed by ). Herald added a subscriber: delcypher.
Changed prior to commit: https://reviews.llvm.org/D58106?vs=186410&id=186589#toc Repository: rL LLVM CHANGES SINCE LAST ACTION https://reviews.llvm.org/D58106/new/ https://reviews.llvm.org/D58106 Files: compiler-rt/trunk/lib/profile/InstrProfilingUtil.c Index: compiler-rt/trunk/lib/profile/InstrProfilingUtil.c =================================================================== --- compiler-rt/trunk/lib/profile/InstrProfilingUtil.c +++ compiler-rt/trunk/lib/profile/InstrProfilingUtil.c @@ -80,7 +80,7 @@ #endif -#ifdef _MSC_VER +#ifdef _WIN32 COMPILER_RT_VISIBILITY int lprofGetHostName(char *Name, int Len) { WCHAR Buffer[COMPILER_RT_MAX_HOSTLEN]; DWORD BufferSize = sizeof(Buffer);
Index: compiler-rt/trunk/lib/profile/InstrProfilingUtil.c =================================================================== --- compiler-rt/trunk/lib/profile/InstrProfilingUtil.c +++ compiler-rt/trunk/lib/profile/InstrProfilingUtil.c @@ -80,7 +80,7 @@ #endif -#ifdef _MSC_VER +#ifdef _WIN32 COMPILER_RT_VISIBILITY int lprofGetHostName(char *Name, int Len) { WCHAR Buffer[COMPILER_RT_MAX_HOSTLEN]; DWORD BufferSize = sizeof(Buffer);
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits