summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h b/legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h
index b3cf05b2ee..36b7b70208 100644
--- a/legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h
+++ b/legacy/ecore/src/lib/ecore_ipc/Ecore_Ipc.h
@@ -35,6 +35,10 @@ extern "C" {
35/** 35/**
36 * Macros used for generic data packing 36 * Macros used for generic data packing
37 */ 37 */
38EAPI unsigned short _ecore_ipc_swap_16(unsigned short v);
39EAPI unsigned int _ecore_ipc_swap_32(unsigned int v);
40EAPI unsigned long long _ecore_ipc_swap_64(unsigned long long v);
41
38#ifdef WORDS_BIGENDIAN 42#ifdef WORDS_BIGENDIAN
39#define ECORE_IPC_SWAP2NET64(x) _ecore_ipc_swap_64(x) 43#define ECORE_IPC_SWAP2NET64(x) _ecore_ipc_swap_64(x)
40#define ECORE_IPC_SWAP2CPU64(x) _ecore_ipc_swap_64(x) 44#define ECORE_IPC_SWAP2CPU64(x) _ecore_ipc_swap_64(x)