ports/www/sarg/patches/patch-util_c

13 lines
279 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: util.c
--- util.c.orig
+++ util.c
@@ -402,7 +402,7 @@ int is_absolute(const char *path)
int PortableMkDir(const char *path,int mode)
{
-#if defined(__linux__)
+#if defined(__linux__) || defined(__OpenBSD__)
int mkerror=mkdir(path,mode);
#else //mingw
(void)mode;