]> git.sesse.net Git - vlc/blob - contrib/src/openjpeg/freebsd.patch
Contribs: fix vpx threading on Win32
[vlc] / contrib / src / openjpeg / freebsd.patch
1 *** openjpeg/libopenjpeg/opj_malloc.h.orig      2012-01-27 16:25:43.875875000 -0500
2 --- openjpeg/libopenjpeg/opj_malloc.h   2012-01-27 16:25:43.875875000 -0500
3 ***************
4 *** 83,88 ****
5 --- 83,90 ----
6   #else /* Not _WIN32 */\r
7         #if defined(__sun)\r
8                 #define HAVE_MEMALIGN\r
9 +       #elif defined(__FreeBSD__)\r
10 +               #define HAVE_POSIX_MEMALIGN\r
11         /* Linux x86_64 and OSX always align allocations to 16 bytes */\r
12         #elif !defined(__amd64__) && !defined(__APPLE__)        \r
13                 #define HAVE_MEMALIGN\r