termux-packages/packages/unrar/os.hpp.patch

13 lines
362 B
Diff
Raw Normal View History

2015-08-25 23:03:16 +02:00
diff -u -r ../unrar/os.hpp ./os.hpp
2017-06-12 02:14:45 +02:00
--- ../unrar/os.hpp 2017-06-10 13:59:52.000000000 +0000
+++ ./os.hpp 2017-06-12 00:11:04.591100580 +0000
@@ -154,7 +154,7 @@
2015-08-25 23:03:16 +02:00
#define SAVE_LINKS
#endif
2017-06-12 02:14:45 +02:00
-#if defined(__linux) || defined(__FreeBSD__)
+#if (defined(__linux) && !defined(__ANDROID__)) || defined(__FreeBSD__)
2015-08-25 23:03:16 +02:00
#include <sys/time.h>
#define USE_LUTIMES
#endif