try extern C-ing asm/byteorder.h
This commit is contained in:
@@ -7,7 +7,10 @@
|
|||||||
|
|
||||||
#if defined(LINUX)
|
#if defined(LINUX)
|
||||||
|
|
||||||
|
extern "C"
|
||||||
|
{
|
||||||
#include <asm/byteorder.h>
|
#include <asm/byteorder.h>
|
||||||
|
};
|
||||||
|
|
||||||
inline uint32_t ArchSwap32( uint32_t n )
|
inline uint32_t ArchSwap32( uint32_t n )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user