We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b4fa48 commit 3682fc8Copy full SHA for 3682fc8
docopt_c.py
@@ -105,6 +105,12 @@
105
106
#include <sys/param.h>
107
108
+#if defined(__APPLE__) || defined(__APPLE_CC__)
109
+/* ARG_MAX gives a segfault on macOS when used for array size below */
110
+#undef ARG_MAX
111
+#undef NCARGS
112
+#endif
113
+
114
#else
115
116
#include <limits.h>
test/docopt.h
@@ -62,6 +62,12 @@ typedef size_t bool;
62
63
64
65
66
67
68
69
70
71
72
73
0 commit comments