parent
5e2a9770f5
commit
fd15ba060b
2
extern/libopenjpeg/opj_malloc.h
vendored
2
extern/libopenjpeg/opj_malloc.h
vendored
@ -76,7 +76,7 @@ Allocate memory aligned to a 16 byte boundry
|
|||||||
#if defined(__sun)
|
#if defined(__sun)
|
||||||
#define HAVE_MEMALIGN
|
#define HAVE_MEMALIGN
|
||||||
#elif defined(__GNUC__)
|
#elif defined(__GNUC__)
|
||||||
#ifndef __APPLE__
|
#if !defined(__APPLE__) && !defined(__FreeBSD__)
|
||||||
#define HAVE_MEMALIGN
|
#define HAVE_MEMALIGN
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
#endif
|
#endif
|
||||||
|
13
extern/libopenjpeg/patches/fbsd.patch
vendored
Normal file
13
extern/libopenjpeg/patches/fbsd.patch
vendored
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: extern/libopenjpeg/opj_malloc.h
|
||||||
|
===================================================================
|
||||||
|
--- extern/libopenjpeg/opj_malloc.h (revision 27736)
|
||||||
|
+++ extern/libopenjpeg/opj_malloc.h (working copy)
|
||||||
|
@@ -76,7 +76,7 @@
|
||||||
|
#if defined(__sun)
|
||||||
|
#define HAVE_MEMALIGN
|
||||||
|
#elif defined(__GNUC__)
|
||||||
|
- #ifndef __APPLE__
|
||||||
|
+ #if !defined(__APPLE__) && !defined(__FreeBSD__)
|
||||||
|
#define HAVE_MEMALIGN
|
||||||
|
#include <malloc.h>
|
||||||
|
#endif
|
Loading…
x
Reference in New Issue
Block a user