File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
contrib/win32/win32compat Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 35
35
#include <fcntl.h>
36
36
#include <sys/types.h>
37
37
#include <sys/stat.h>
38
- #include <crtdbg.h>
38
+ #ifndef __MINGW32__
39
+ #include <Crtdbg.h>
40
+ #endif
39
41
40
42
#include "sfds.h"
41
43
@@ -2920,13 +2922,16 @@ void WSHELPinitialize()
2920
2922
2921
2923
winsock_initialized = 1 ;
2922
2924
2925
+ #ifndef __MINGW32__
2923
2926
_CrtSetReportMode (_CRT_WARN , _CRTDBG_MODE_FILE );
2924
2927
_CrtSetReportFile (_CRT_WARN , _CRTDBG_FILE_STDOUT );
2925
2928
_CrtSetReportMode (_CRT_ERROR , _CRTDBG_MODE_FILE );
2926
2929
_CrtSetReportFile (_CRT_ERROR , _CRTDBG_FILE_STDOUT );
2927
2930
_CrtSetReportMode (_CRT_ASSERT , _CRTDBG_MODE_FILE );
2928
2931
_CrtSetReportFile (_CRT_ASSERT , _CRTDBG_FILE_STDOUT );
2929
2932
2933
+ #endif
2934
+
2930
2935
2931
2936
DBG_MSG ("<- WSHELPinitialize()...\n" );
2932
2937
}
You can’t perform that action at this time.
0 commit comments