Merge pull request #1368 from jschueller/mingw

Fix MinGW build
This commit is contained in:
Ward Fisher 2019-04-03 17:32:22 -06:00 committed by GitHub
commit 6446ff37c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -5,7 +5,7 @@
#include "config.h"
#include "dapincludes.h"
#ifdef _MSC_VER
#ifdef _WIN32
#include <crtdbg.h>
#include <math.h>
#endif

View File

@ -8,6 +8,7 @@
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <errno.h>
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif

View File

@ -17,7 +17,7 @@
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif
#ifdef _MSC_VER /* Microsoft Compilers */
#ifdef _WIN32
#include <windows.h>
#include <winbase.h>
#include <io.h>