summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/reference.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/reference.rst b/docs/reference.rst
index 8846ce1b..8c1af773 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
====