We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b529b0 commit fca5ff9Copy full SHA for fca5ff9
buffer_win32_compat.patch
@@ -1,5 +1,5 @@
1
diff --git a/sundown/src/buffer.h b/sundown/src/buffer.h
2
-index 221d142..ca7523b 100644
+index 221d142..b76ce1a 100644
3
--- a/sundown/src/buffer.h
4
+++ b/sundown/src/buffer.h
5
@@ -20,7 +20,11 @@
@@ -22,3 +22,21 @@ index 221d142..ca7523b 100644
22
#endif
23
24
typedef enum {
25
+diff --git a/sundown/src/markdown.c b/sundown/src/markdown.c
26
+diff --git a/sundown/src/markdown.h b/sundown/src/markdown.h
27
+index 6f6553e..fc1a67c 100644
28
+--- a/sundown/src/markdown.h
29
++++ b/sundown/src/markdown.h
30
+@@ -26,6 +26,12 @@
31
+ extern "C" {
32
+ #endif
33
+
34
++#if defined(_WIN32)
35
++#ifndef inline
36
++#define inline
37
++#endif
38
39
++
40
+ #define SUNDOWN_VERSION "1.16.0"
41
+ #define SUNDOWN_VER_MAJOR 1
42
+ #define SUNDOWN_VER_MINOR 16
0 commit comments