Add PB_SYSTEM_HEADER compile time option.

This allows replacing the C99 standard include file names with
a single system-specific file. It should provide all the necessary
system functions (typedefs, memset, memcpy, strlen).

Update issue 62
Status: FixedInGit
This commit is contained in:
Petteri Aimonen
2013-03-09 14:56:34 +02:00
parent d580b225e8
commit 03e5393072
3 changed files with 5 additions and 2 deletions

View File

@@ -6,7 +6,6 @@
#define NANOPB_INTERNALS
#include "pb.h"
#include "pb_encode.h"
#include <string.h>
/* The warn_unused_result attribute appeared first in gcc-3.4.0 */
#if !defined(__GNUC__) || ( __GNUC__ < 3) || (__GNUC__ == 3 && __GNUC_MINOR__ < 4)