<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">I don't know why he uses number of arguments to distinguish if
it's windows or not. Add correct header, section off wrong
mkdirs on Windows
https://bugs.gentoo.org/898294
--- a/configurator/taucs_config.c
+++ b/configurator/taucs_config.c
@@ -1,6 +1,7 @@
 #include &lt;stdio.h&gt;
 #include &lt;stdlib.h&gt;
 #include &lt;string.h&gt;
+#include &lt;sys/stat.h&gt;
 
 #include "taucs_structure.h"
 
@@ -242,8 +242,10 @@
     sprintf(name,"%s%c%s",  configdir,pathsep,ostype);
 
   if (win32) {
+#if defined _WIN32 || defined __CYGWIN__
     mkdir(configdir);
     mkdir(name);
+#endif
   }
   else {
     mkdir(configdir,0777);
@@ -301,8 +303,10 @@
     sprintf(name,"%s%c%s",  configdir,pathsep,ostype);
 
   if (win32) {
+#if defined _WIN32 || defined __CYGWIN__
     mkdir(configdir);
     mkdir(name);
+#endif
   }
   else {
     mkdir(configdir,0777);
</pre></body></html>