Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018Ae69wJS7sueQMUwNxV3nX
31 lines
996 B
Diff
31 lines
996 B
Diff
diff --git a/utils/config.h b/utils/config.h
|
|
index 3914771fd..09f2659d6 100644
|
|
--- a/utils/config.h
|
|
+++ b/utils/config.h
|
|
@@ -119,7 +119,7 @@ char *strchrnul(const char *s, int c);
|
|
#endif
|
|
|
|
#define HAVE_UTSNAME
|
|
-#if (defined(_WIN32))
|
|
+#if (defined(_WIN32) || defined(__montauk__))
|
|
#undef HAVE_UTSNAME
|
|
#endif
|
|
|
|
@@ -158,14 +158,14 @@ char *realpath(const char *path, char *resolved_path);
|
|
#define HAVE_DIRFD
|
|
#define HAVE_UNLINKAT
|
|
#define HAVE_FSTATAT
|
|
-#if (defined(_WIN32) || defined(__riscos__) || defined(__HAIKU__) || defined(__BEOS__) || defined(__amigaos4__) || defined(__AMIGA__) || defined(__MINT__))
|
|
+#if (defined(_WIN32) || defined(__riscos__) || defined(__HAIKU__) || defined(__BEOS__) || defined(__amigaos4__) || defined(__AMIGA__) || defined(__MINT__) || defined(__montauk__))
|
|
#undef HAVE_DIRFD
|
|
#undef HAVE_UNLINKAT
|
|
#undef HAVE_FSTATAT
|
|
#endif
|
|
|
|
#define HAVE_REGEX
|
|
-#if (defined(__serenity__))
|
|
+#if (defined(__serenity__) || defined(__montauk__))
|
|
#undef HAVE_REGEX
|
|
#endif
|
|
|