fix nx external compiler error
This commit is contained in:
parent
42fd992114
commit
28a7e52745
|
|
@ -139,7 +139,9 @@
|
|||
|
||||
uint16 pvmp3_decode_huff_cw_tab0(tmp3Bits *pMainData)
|
||||
{
|
||||
#if (CC_PLATFORM != CC_PLATFORM_NX && CC_PLATFORM != CC_PLATFORM_NX_WINDOWS)
|
||||
OSCL_UNUSED_ARG(pMainData);
|
||||
#endif
|
||||
return(0);
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,9 @@
|
|||
#define __TBB_machine_linux_ia64_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <ia64intrin.h>
|
||||
#if (CC_PLATFORM != CC_PLATFORM_NX)
|
||||
#include <ia64intrin.h>
|
||||
#endif
|
||||
|
||||
#define __TBB_WORDSIZE 8
|
||||
#define __TBB_ENDIANNESS __TBB_ENDIAN_LITTLE
|
||||
|
|
|
|||
|
|
@ -279,6 +279,12 @@ template<> struct atomic_selector<8> {
|
|||
|
||||
#endif /* OS selection */
|
||||
|
||||
#if (CC_PLATFORM == CC_PLATFORM_NX)
|
||||
#include "machine/linux_ia64.h"
|
||||
#include "pthread.h"
|
||||
#define __TBB_Yield() sched_yield()
|
||||
#endif
|
||||
|
||||
#ifndef __TBB_64BIT_ATOMICS
|
||||
#define __TBB_64BIT_ATOMICS 1
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue