Put previous commit (issue 52) inside #ifndef

This commit is contained in:
Petteri Aimonen
2013-01-16 16:31:45 +02:00
parent 88eba4bc27
commit 8e840cc81a

View File

@@ -225,7 +225,10 @@ bool checkreturn pb_make_string_substream(pb_istream_t *stream, pb_istream_t *su
void pb_close_string_substream(pb_istream_t *stream, pb_istream_t *substream)
{
stream->state = substream->state;
#ifdef PB_NO_ERRMSG
stream->errmsg = substream->errmsg;
#endif
}
/* Iterator for pb_field_t list */