about summary refs log tree commit diff
path: root/pkgs/development/compilers/llvm/16/compiler-rt/freebsd-i386.patch
blob: 0a221750552a0b7e2562c521dcde29f9fd586901 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- a/lib/builtins/fp_lib.h	1969-12-31 16:00:01.000000000 -0800
+++ b/lib/builtins/fp_lib.h	2023-12-21 23:39:36.066927293 -0800
@@ -26,18 +26,6 @@
 #include <stdbool.h>
 #include <stdint.h>
 
-// x86_64 FreeBSD prior v9.3 define fixed-width types incorrectly in
-// 32-bit mode.
-#if defined(__FreeBSD__) && defined(__i386__)
-#include <sys/param.h>
-#if __FreeBSD_version < 903000 // v9.3
-#define uint64_t unsigned long long
-#define int64_t long long
-#undef UINT64_C
-#define UINT64_C(c) (c##ULL)
-#endif
-#endif
-
 #if defined SINGLE_PRECISION
 
 typedef uint16_t half_rep_t;