chiark / gitweb /
3d8892aaf3662cbee2295eb4a030b7add15f47e8
[termux-packages] / packages / atomicparsley / util.cpp.patch
1 --- ../cache/wez-atomicparsley-da2f6e4fc120/src/util.cpp        2014-03-03 19:18:56.000000000 +0000
2 +++ ./src/util.cpp      2017-11-21 21:26:48.562088998 +0000
3 @@ -339,7 +339,7 @@
4  //                                platform specifics                                 //
5  ///////////////////////////////////////////////////////////////////////////////////////
6  
7 -#if !defined(HAVE_LROUNDF)
8 +#if !defined(HAVE_LROUNDF) && !defined (__BIONIC__)
9  int lroundf(float a) {
10         return (int)(a/1);
11  }