[gcov] Delete FreeBSD<10 (reached end of life for years) workaround

This commit is contained in:
Fangrui Song 2021-03-12 15:07:58 -08:00
parent 315ebe0df3
commit 10b1d30ec0
1 changed files with 1 additions and 14 deletions

View File

@ -38,13 +38,7 @@
#include <unistd.h>
#endif
#if defined(__FreeBSD__) && defined(__i386__)
#define I386_FREEBSD 1
#else
#define I386_FREEBSD 0
#endif
#if !defined(_MSC_VER) && !I386_FREEBSD
#if !defined(_MSC_VER)
#include <stdint.h>
#endif
@ -52,13 +46,6 @@
typedef unsigned char uint8_t;
typedef unsigned int uint32_t;
typedef unsigned long long uint64_t;
#elif I386_FREEBSD
/* System headers define 'size_t' incorrectly on x64 FreeBSD (prior to
* FreeBSD 10, r232261) when compiled in 32-bit mode.
*/
typedef unsigned char uint8_t;
typedef unsigned int uint32_t;
typedef unsigned long long uint64_t;
#endif
#include "InstrProfiling.h"