blob: 2950e3933afcc11455e7b748b002daf17360480f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
--- cmocka-1.1.5/include/cmocka.h.old 2019-03-28 12:33:50.000000000 +0000
+++ cmocka-1.1.5/include/cmocka.h 2020-01-14 10:59:11.716464203 +0000
@@ -123,21 +123,7 @@
# elif defined(_WIN64)
typedef unsigned long int uintptr_t;
# else /* _WIN32 */
-
-/* ILP32 and LP64 platforms */
-# ifdef __WORDSIZE /* glibc */
-# if __WORDSIZE == 64
- typedef unsigned long int uintptr_t;
-# else
- typedef unsigned int uintptr_t;
-# endif /* __WORDSIZE == 64 */
-# else /* __WORDSIZE */
-# if defined(_LP64) || defined(_I32LPx)
- typedef unsigned long int uintptr_t;
-# else
- typedef unsigned int uintptr_t;
-# endif
-# endif /* __WORDSIZE */
+# include <stdint.h>
# endif /* _WIN32 */
# define _UINTPTR_T
|