We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 863d4cd commit 5be60d6Copy full SHA for 5be60d6
2 files changed
windows/mpconfigport.h
@@ -196,6 +196,13 @@ extern const struct _mp_obj_module_t mp_module_time;
196
#define PATH_MAX MICROPY_ALLOC_PATH_MAX
197
#define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
198
#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
199
+#ifdef _WIN64
200
+#define SSIZE_MAX _I64_MAX
201
+typedef __int64 ssize_t;
202
+#else
203
+#define SSIZE_MAX _I32_MAX
204
+typedef int ssize_t;
205
+#endif
206
207
208
// Put static/global variables in sections with a known name
windows/windows_mphal.h
@@ -25,7 +25,7 @@
25
*/
26
27
#include "sleep.h"
28
-#include "unix/unix_mphal.h"
+#include "unix/mphalport.h"
29
30
#define MICROPY_HAL_HAS_VT100 (0)
31
0 commit comments