forked from OSchip/llvm-project
[gcov] Delete FreeBSD<10 (reached end of life for years) workaround
This commit is contained in:
parent
315ebe0df3
commit
10b1d30ec0
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue