We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3598f3d commit 12ae118Copy full SHA for 12ae118
src/MIDataTypes.h
@@ -17,6 +17,8 @@
17
// Windows headers:
18
#ifdef _WIN32
19
20
+#include <windows.h>
21
+
22
// Debugging:
23
#ifdef _DEBUG
24
#include <crtdbg.h>
src/Platform.h
@@ -7,7 +7,7 @@
7
//===----------------------------------------------------------------------===//
8
#pragma once
9
10
-#if defined(_MSC_VER)
+#if defined(_WIN32)
11
12
#include <inttypes.h>
13
#include <io.h>
@@ -45,7 +45,9 @@ struct termios {
45
speed_t c_ospeed; // output speed
46
};
47
48
+#if !defined(__MINGW32__) || !defined(_PID_T_) || defined(NO_OLDNAMES)
49
typedef long pid_t;
50
+#endif
51
52
#define STDIN_FILENO 0
53
#define PATH_MAX 32768
0 commit comments