mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-15 13:58:32 +00:00
FS-9078: [sofia-sip] fix linux build of HEPv2/HEPv3 code
This commit is contained in:
1 parent
bc74c70562
commit
3caa794f7a
4 files changed
+21
-2
No files matched your search
@@ -0,0 +1,18 @@
|
||||
#include "config.h"
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#ifndef __LITTLE_ENDIAN
|
||||
#define __LITTLE_ENDIAN 1234
|
||||
#endif
|
||||
#ifndef __BIG_ENDIAN
|
||||
#define __BIG_ENDIAN 4321
|
||||
#endif
|
||||
#ifndef __BYTE_ORDER
|
||||
#ifdef SWITCH_BYTE_ORDER
|
||||
#define __BYTE_ORDER SWITCH_BYTE_ORDER
|
||||
#else
|
||||
#define __BYTE_ORDER __LITTLE_ENDIAN
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#include <switch.h>
|
||||
#include "ws.h"
|
||||
#include <pthread.h>
|
||||
|
||||
|
||||
Reference in new issue
Block a user