Fix compile for embedded Android
It also has a broken declaration of posix_memalign Change-Id: Ie8f245564f80b04901425729b46953828204efaf Reviewed-by: Andy Nichols <andy.nichols@digia.com>
This commit is contained in:
parent
35a11d6fce
commit
624ac989ce
@ -79,7 +79,7 @@
|
|||||||
|
|
||||||
// SSE intrinsics
|
// SSE intrinsics
|
||||||
#if defined(__SSE2__) || (defined(QT_COMPILER_SUPPORTS_SSE2) && defined(Q_CC_MSVC))
|
#if defined(__SSE2__) || (defined(QT_COMPILER_SUPPORTS_SSE2) && defined(Q_CC_MSVC))
|
||||||
#if defined(QT_LINUXBASE)
|
#if defined(QT_LINUXBASE) || defined(Q_OS_ANDROID_NO_SDK)
|
||||||
/// this is an evil hack - the posix_memalign declaration in LSB
|
/// this is an evil hack - the posix_memalign declaration in LSB
|
||||||
/// is wrong - see http://bugs.linuxbase.org/show_bug.cgi?id=2431
|
/// is wrong - see http://bugs.linuxbase.org/show_bug.cgi?id=2431
|
||||||
# define posix_memalign _lsb_hack_posix_memalign
|
# define posix_memalign _lsb_hack_posix_memalign
|
||||||
|
Loading…
x
Reference in New Issue
Block a user