Added check to see if BIG_ENDIAN was defined and issue an error if it was not defined.

This commit is contained in:
skarg
2007-04-02 20:10:01 +00:00
parent 4dcd77dbf6
commit 8ad1126df6
+3 -1
View File
@@ -42,7 +42,9 @@
/* NOTE: byte order plays a role in decoding multibyte values */
/* http://www.unixpapa.com/incnote/byteorder.html */
/* define BIG_ENDIAN=1 or BIG_ENDIAN=0 for your target! */
#ifndef BIG_ENDIAN
#error Define BIG_ENDIAN=0 or BIG_ENDIAN=1 for BACnet Stack in compiler settings
#endif
/* max-segments-accepted
B'000' Unspecified number of segments accepted.