[sr-dev] git:master:a6525eaf: Merge pull request #1068 from tmh1999/master

GitHub noreply at github.com
Tue Apr 18 14:23:34 CEST 2017


Module: kamailio
Branch: master
Commit: a6525eaf495a529484cf938d802632603310c497
URL: https://github.com/kamailio/kamailio/commit/a6525eaf495a529484cf938d802632603310c497

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: GitHub <noreply at github.com>
Date: 2017-04-18T14:23:30+02:00

Merge pull request #1068 from tmh1999/master

modules/{acc,cdp}: allows big endian build

---

Modified: src/modules/acc/diam_message.h
Modified: src/modules/cdp/diameter.h

---

Diff:  https://github.com/kamailio/kamailio/commit/a6525eaf495a529484cf938d802632603310c497.diff
Patch: https://github.com/kamailio/kamailio/commit/a6525eaf495a529484cf938d802632603310c497.patch

---

diff --git a/src/modules/acc/diam_message.h b/src/modules/acc/diam_message.h
index 35ad2d9..e4faaf0 100644
--- a/src/modules/acc/diam_message.h
+++ b/src/modules/acc/diam_message.h
@@ -74,7 +74,6 @@
 	#define ST_MSG_CODE      0x13010000
 	#define MASK_MSG_CODE    0xffffff00
 #else
-	#error BIG endian detected!!
 	#define AS_MSG_CODE      0x00000112
 	#define AC_MSG_CODE      0x0000010f
 	#define CE_MSG_CODE      0x00000101
diff --git a/src/modules/cdp/diameter.h b/src/modules/cdp/diameter.h
index 38115a9..2be2525 100644
--- a/src/modules/cdp/diameter.h
+++ b/src/modules/cdp/diameter.h
@@ -115,7 +115,6 @@
 	#define ST_MSG_CODE      0x13010000
 	#define MASK_MSG_CODE    0xffffff00
 #else
-	#error BIG endian detected!!
 	#define AS_MSG_CODE      0x00000112
 	#define AC_MSG_CODE      0x0000010f
 	#define CE_MSG_CODE      0x00000101




More information about the sr-dev mailing list