Commit c5a6da53d3a1db532246a4d97f68913a2f22d39e

Thomas de Grivel 2024-10-18T12:56:35

Fix compilation on MacOS

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/src/md4c.c b/src/md4c.c
index e3f5cf9..d21e41a 100644
--- a/src/md4c.c
+++ b/src/md4c.c
@@ -139,6 +139,10 @@
  ***  Internal Types  ***
  ************************/
 
+#ifdef OFF_MAX
+# undef OFF_MAX
+#endif
+
 /* These are omnipresent so lets save some typing. */
 #define CHAR    MD_CHAR
 #define SZ      MD_SIZE