projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10b1d30
)
[gcov] Delete ancient MSVC workaround
author
Fangrui Song
<i@maskray.me>
Fri, 12 Mar 2021 23:10:12 +0000
(15:10 -0800)
committer
Fangrui Song
<i@maskray.me>
Fri, 12 Mar 2021 23:10:12 +0000
(15:10 -0800)
compiler-rt/lib/profile/GCDAProfiling.c
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/profile/GCDAProfiling.c
b/compiler-rt/lib/profile/GCDAProfiling.c
index
a7f6f3f
..
649c73f
100644
(file)
--- a/
compiler-rt/lib/profile/GCDAProfiling.c
+++ b/
compiler-rt/lib/profile/GCDAProfiling.c
@@
-23,6
+23,7
@@
#include <errno.h>
#include <fcntl.h>
+#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@
-38,16
+39,6
@@
#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"