]> wimlib.net Git - wimlib/blobdiff - src/util.c
WIM capture: Share inodes immediately
[wimlib] / src / util.c
index 07d5fc6b569bcb6bd14396e75b20f7f79a8bac0a..b688ac216f4be3e490480d220984bea5833af0b8 100644 (file)
@@ -23,8 +23,6 @@
 
 #include "config.h"
 
-#define MINGW_HAS_SECURE_API
-
 #undef _GNU_SOURCE
 /* Make sure the POSIX-compatible strerror_r() is declared, rather than the GNU
  * version, which has a different return type. */
 
 #include <unistd.h> /* for getpid() */
 
+#ifdef __WIN32__
+#include "win32.h"
+#endif
+
 static size_t
 utf16le_strlen(const utf16lechar *s)
 {