Skip to content
This repository was archived by the owner on May 21, 2019. It is now read-only.

Provide lprofGetHostName for all windows environments #38

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/profile/InstrProfilingUtil.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ void *lprofPtrFetchAdd(void **Mem, long ByteIncr) {

#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);
Expand Down