Note about __BIG_ENDIAN__ compilation option

This commit is contained in:
Petteri Aimonen
2012-06-25 21:45:40 +03:00
parent 3a919ddc5e
commit c07e576de8

View File

@@ -6,6 +6,12 @@ Nanopb: API reference
.. contents :: .. contents ::
Compilation options
===================
The following options can be specified using -D switch given to the C compiler:
:__BIG_ENDIAN__: Set this if your platform stores integers and floats in big-endian format. Mixed-endian systems (different layout for ints and floats) are currently not supported.
pb.h pb.h
==== ====