]> git.sesse.net Git - vlc/blob - contrib/src/schroedinger/android.patch
UNPACK_DIR should only strip .tar as 2nd suffix
[vlc] / contrib / src / schroedinger / android.patch
1 --- schroedinger/schroedinger/schroorc-dist.c.orig      2012-01-23 01:44:05.000000000 +0100
2 +++ schroedinger/schroedinger/schroorc-dist.c   2012-02-25 16:21:34.387026910 +0100
3 @@ -52,7 +52,7 @@
4  typedef union { orc_int64 i; double f; orc_int32 x2[2]; float x2f[2]; orc_int16 x4[4]; } orc_union64;
5  #endif
6  #ifndef ORC_RESTRICT
7 -#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
8 +#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L && !defined(__ANDROID__)
9  #define ORC_RESTRICT restrict
10  #elif defined(__GNUC__) && __GNUC__ >= 4
11  #define ORC_RESTRICT __restrict__