From c07e576de86644d278a987550e389b000d8311d0 Mon Sep 17 00:00:00 2001 From: Petteri Aimonen Date: Mon, 25 Jun 2012 21:45:40 +0300 Subject: Note about __BIG_ENDIAN__ compilation option --- docs/reference.rst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/reference.rst') 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 ==== -- cgit 1.2.3-korg