summaryrefslogtreecommitdiff
path: root/src/cmark_ctype.h
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-12-31 11:04:46 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-12-31 11:04:46 -0800
commit4cf38a5569d937142609441a27abf0edb9023da4 (patch)
treeeb3e9f177bd4f9bbcc15deabc9c764e421c59972 /src/cmark_ctype.h
parent834266acfdb2aa63e07ae03b08ae11ca21e00dcf (diff)
parente8a994cddc17eabaa415c73d970205aa489a756c (diff)
Merge pull request #256 from nwellnhof/windows_fixes
Windows fixes
Diffstat (limited to 'src/cmark_ctype.h')
-rw-r--r--src/cmark_ctype.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/cmark_ctype.h b/src/cmark_ctype.h
index 7423f80..f803946 100644
--- a/src/cmark_ctype.h
+++ b/src/cmark_ctype.h
@@ -1,3 +1,10 @@
+#ifndef CMARK_CMARK_CTYPE_H
+#define CMARK_CMARK_CTYPE_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/** Locale-independent versions of functions from ctype.h.
* We want cmark to behave the same no matter what the system locale.
*/
@@ -9,3 +16,9 @@ int cmark_ispunct(char c);
int cmark_isalnum(char c);
int cmark_isdigit(char c);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif