Skip to content

Commit 9adc83a

Browse files
authored
Fix MSYS2/Cygwin conpat (#269)
1 parent 05934ab commit 9adc83a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

trantor/utils/AsyncFileLogger.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
#include <trantor/utils/AsyncFileLogger.h>
1616
#include <trantor/utils/Utilities.h>
17-
#ifndef _WIN32
17+
#if !defined(_WIN32) || defined(__MINGW32__)
1818
#include <unistd.h>
1919
#include <dirent.h>
2020
#include <sys/stat.h>

0 commit comments

Comments
 (0)