wok-next view mesa/stuff/mesa-12.0.patch @ rev 19687

unshield: _BSD_SOURCE is deprecated
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 10 09:48:32 2017 +0200 (2017-04-10)
parents
children
line source
1 --- a/src/gallium/drivers/swr/rasterizer/core/utils.h
2 +++ b/src/gallium/drivers/swr/rasterizer/core/utils.h
3 @@ -37,7 +37,7 @@
4 #define _MM_INSERT_EPI64 _mm_insert_epi64
5 #define _MM_EXTRACT_EPI64 _mm_extract_epi64
6 #else
7 -INLINE INT64 _MM_EXTRACT_EPI64(__m128i a, const int32_t ndx)
8 +INLINE int64_t _MM_EXTRACT_EPI64(__m128i a, const int32_t ndx)
9 {
10 OSALIGNLINE(uint32_t) elems[4];
11 _mm_store_si128((__m128i*)elems, a);
12 @@ -55,7 +55,7 @@
13 }
14 }
16 -INLINE __m128i _MM_INSERT_EPI64(__m128i a, INT64 b, const int32_t ndx)
17 +INLINE __m128i _MM_INSERT_EPI64(__m128i a, int64_t b, const int32_t ndx)
18 {
19 OSALIGNLINE(int64_t) elems[2];
20 _mm_store_si128((__m128i*)elems, a);