]> git.pld-linux.org Git - packages/vsxu.git/blob - vsxu-cxx17_conflict.patch
avoid name conflict with C++17; rel 2
[packages/vsxu.git] / vsxu-cxx17_conflict.patch
1 --- vsxu-0.6.3.orig/lib/common/include/math/vsx_math.h  2018-11-11 12:44:03.000000000 +0100
2 +++ vsxu-0.6.3/lib/common/include/math/vsx_math.h       2021-06-17 10:55:18.670208881 +0200
3 @@ -50,7 +50,9 @@
4  
5  #define CLAMP(N, L, U) (MAX(MIN((N), (U)), (L)))
6  
7 +#if __cplusplus <= 201402L
8  #define clamp(N, L, U) (MAX(MIN((N), (U)), (L)))
9 +#endif
10  
11  
12  #define DOUBLE_EQUALS(A, B) \
This page took 0.080475 seconds and 3 git commands to generate.