[sr-dev] git:master:95153bd3: modules/{acc, cdp}: allows big endian build

Tuan M. Hoang tmhoang at flatglobe.org
Tue Apr 18 14:23:34 CEST 2017


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

Author: Tuan M. Hoang <tmhoang at flatglobe.org>
Committer: Tuan M. Hoang <tmhoang at flatglobe.org>
Date: 2017-04-11T13:08:51-04:00

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/95153bd37df81d08b8c02cc892d019817ec05644.diff
Patch: https://github.com/kamailio/kamailio/commit/95153bd37df81d08b8c02cc892d019817ec05644.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