mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
12 lines
436 B
Diff
12 lines
436 B
Diff
--- dulwich/_objects.c~ 2011-11-06 13:52:35.000000000 +1100
|
|
+++ dulwich/_objects.c 2011-11-06 13:52:41.000000000 +1100
|
|
@@ -25,7 +25,7 @@
|
|
typedef int Py_ssize_t;
|
|
#endif
|
|
|
|
-#if defined(__MINGW32_VERSION) || defined(__APPLE__)
|
|
+#if defined(__MINGW32_VERSION) || (defined(__APPLE__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1070)
|
|
size_t rep_strnlen(char *text, size_t maxlen);
|
|
size_t rep_strnlen(char *text, size_t maxlen)
|
|
{
|