diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-01-18 11:57:16 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-01-18 11:57:16 -0800 |
commit | 1322f2d836caf1bb2d25b4bd94b9b87c6b27a628 (patch) | |
tree | 70616655d9d32d3bb3f4dcc35b9ab3891d672a8e /src/config.h.in | |
parent | e1d1593f514a4975e015ed3fdd69f9c1c5c3142d (diff) |
Add include guards to config.h
Diffstat (limited to 'src/config.h.in')
-rw-r--r-- | src/config.h.in | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/config.h.in b/src/config.h.in index 197e97e..abf4418 100644 --- a/src/config.h.in +++ b/src/config.h.in @@ -1,3 +1,10 @@ +#ifndef CMARK_CONFIG_H +#define CMARK_CONFIG_H + +#ifdef __cplusplus +extern "C" { +#endif + #cmakedefine HAVE_STDBOOL_H #ifdef HAVE_STDBOOL_H @@ -58,3 +65,9 @@ CMARK_INLINE int c99_snprintf(char *outBuf, size_t size, const char *format, ... } #endif + +#ifdef __cplusplus +} +#endif + +#endif |