[gcov] Delete ancient MSVC workaround
authorFangrui Song <i@maskray.me>
Fri, 12 Mar 2021 23:10:12 +0000 (15:10 -0800)
committerFangrui Song <i@maskray.me>
Fri, 12 Mar 2021 23:10:12 +0000 (15:10 -0800)
compiler-rt/lib/profile/GCDAProfiling.c

index a7f6f3f..649c73f 100644 (file)
@@ -23,6 +23,7 @@
 
 #include <errno.h>
 #include <fcntl.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
 #endif
 
-#if !defined(_MSC_VER)
-#include <stdint.h>
-#endif
-
-#if defined(_MSC_VER)
-typedef unsigned char uint8_t;
-typedef unsigned int uint32_t;
-typedef unsigned long long uint64_t;
-#endif
-
 #include "InstrProfiling.h"
 #include "InstrProfilingUtil.h"