unrar: Update from 5.4.5 to 5.5.4
[termux-packages] / packages / unrar / os.hpp.patch
index 3f362f3..4bc0da6 100644 (file)
@@ -1,14 +1,12 @@
-Patch submitted to dev@rarlab.com on 2015-08-25.
-
 diff -u -r ../unrar/os.hpp ./os.hpp
---- ../unrar/os.hpp    2015-08-04 06:22:40.000000000 -0400
-+++ ./os.hpp   2015-08-25 16:58:59.525380417 -0400
-@@ -160,7 +160,7 @@
+--- ../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 @@
  #define SAVE_LINKS
  #endif
  
--#if defined(__linux) && !defined (_ANDROID) || defined(__FreeBSD__)
-+#if defined(__linux) && !defined(__ANDROID__) || defined(__FreeBSD__)
+-#if defined(__linux) || defined(__FreeBSD__)
++#if (defined(__linux) && !defined(__ANDROID__)) || defined(__FreeBSD__)
  #include <sys/time.h>
  #define USE_LUTIMES
  #endif