aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2012-06-25 21:45:40 +0300
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2012-06-25 21:45:40 +0300
commitc07e576de86644d278a987550e389b000d8311d0 (patch)
tree4bb8fb43302ea97c3ec7df91949440fc90e36b9f
parent3a919ddc5e13091f7212d9369e1794c038d6cdfe (diff)
Note about __BIG_ENDIAN__ compilation option
-rw-r--r--docs/reference.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/reference.rst b/docs/reference.rst
index 8846ce1..8c1af77 100644
--- a/docs/reference.rst
+++ b/docs/reference.rst
@@ -6,6 +6,12 @@ Nanopb: API reference
.. 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
====