While config.h is generated, it is only included from within st.c to make some things work correctly within st.h.
I would suggest changing things a little:
- Put an include of config.h into src/avro_private.h
- Include avro_private.h into all .c files.
- Not sure if the values from config.h are needed in any of the tests or examples ... I would hope not though and that this is fully insulated from being visible within anything exposed by avro.h.
Given some feedback, I can readily prepare a patch.
|Status||Resolved [ 5 ]||Closed [ 6 ]|
|Fix Version/s||1.3.1 [ 12314788 ]|
|Assignee||Bruce Mitchener [ brucem ]|
Matt Massie made changes -
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Resolution||Fixed [ 1 ]|