chiark / gitweb /
preload-hacks: Some patches to make it work.
[termux-packages] / packages / unrar / os.hpp.patch
1 diff -u -r ../unrar/os.hpp ./os.hpp
2 --- ../unrar/os.hpp     2017-06-10 13:59:52.000000000 +0000
3 +++ ./os.hpp    2017-06-12 00:11:04.591100580 +0000
4 @@ -154,7 +154,7 @@
5  #define SAVE_LINKS
6  #endif
7  
8 -#if defined(__linux) || defined(__FreeBSD__)
9 +#if (defined(__linux) && !defined(__ANDROID__)) || defined(__FreeBSD__)
10  #include <sys/time.h>
11  #define USE_LUTIMES
12  #endif