summarylogtreecommitdiffstats
path: root/linux-5.1-compat-drop-ULLONG_MAX-and-LLONG_MAX-definitions.patch
blob: d1ec6abae16263d70087bc193fef57b4df38edad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
diff --unified --recursive --text a/include/sys/types.h b/include/sys/types.h
--- a/include/sys/types.h	2019-02-22 12:55:48.000000000 -0500
+++ b/include/sys/types.h	2019-05-15 18:32:17.357535303 -0400
@@ -28,14 +28,6 @@
 #include <linux/types.h>
 #include <sys/sysmacros.h>
 
-#ifndef ULLONG_MAX
-#define	ULLONG_MAX			(~0ULL)
-#endif
-
-#ifndef LLONG_MAX
-#define	LLONG_MAX			((long long)(~0ULL>>1))
-#endif
-
 typedef enum { B_FALSE = 0, B_TRUE = 1 }	boolean_t;
 typedef unsigned long			intptr_t;
 typedef unsigned long			ulong_t;