We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents eb38a18 + 3bcbd5a commit e792248Copy full SHA for e792248
compiler-rt/lib/profile/InstrProfilingUtil.c
@@ -81,7 +81,7 @@ void *lprofPtrFetchAdd(void **Mem, long ByteIncr) {
81
82
#endif
83
84
-#ifdef _MSC_VER
+#ifdef _WIN32
85
COMPILER_RT_VISIBILITY int lprofGetHostName(char *Name, int Len) {
86
WCHAR Buffer[COMPILER_RT_MAX_HOSTLEN];
87
DWORD BufferSize = sizeof(Buffer);
0 commit comments