Skip to content

Commit 10b1d30

Browse files
committed
[gcov] Delete FreeBSD<10 (reached end of life for years) workaround
1 parent 315ebe0 commit 10b1d30

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

compiler-rt/lib/profile/GCDAProfiling.c

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -38,27 +38,14 @@
3838
#include <unistd.h>
3939
#endif
4040

41-
#if defined(__FreeBSD__) && defined(__i386__)
42-
#define I386_FREEBSD 1
43-
#else
44-
#define I386_FREEBSD 0
45-
#endif
46-
47-
#if !defined(_MSC_VER) && !I386_FREEBSD
41+
#if !defined(_MSC_VER)
4842
#include <stdint.h>
4943
#endif
5044

5145
#if defined(_MSC_VER)
5246
typedef unsigned char uint8_t;
5347
typedef unsigned int uint32_t;
5448
typedef unsigned long long uint64_t;
55-
#elif I386_FREEBSD
56-
/* System headers define 'size_t' incorrectly on x64 FreeBSD (prior to
57-
* FreeBSD 10, r232261) when compiled in 32-bit mode.
58-
*/
59-
typedef unsigned char uint8_t;
60-
typedef unsigned int uint32_t;
61-
typedef unsigned long long uint64_t;
6249
#endif
6350

6451
#include "InstrProfiling.h"

0 commit comments

Comments
 (0)