Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
micropython
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
card10
micropython
Commits
5be60d69
Commit
5be60d69
authored
9 years ago
by
stijn
Committed by
Paul Sokolovsky
9 years ago
Browse files
Options
Downloads
Patches
Plain Diff
windows: Define ssize_t and use renamed mphal header
This fixes the build after changes in [
66fd3e4a
] and [
3a6b3d23
]
parent
863d4cd8
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
windows/mpconfigport.h
+7
-0
7 additions, 0 deletions
windows/mpconfigport.h
windows/windows_mphal.h
+1
-1
1 addition, 1 deletion
windows/windows_mphal.h
with
8 additions
and
1 deletion
windows/mpconfigport.h
+
7
−
0
View file @
5be60d69
...
@@ -196,6 +196,13 @@ extern const struct _mp_obj_module_t mp_module_time;
...
@@ -196,6 +196,13 @@ extern const struct _mp_obj_module_t mp_module_time;
#define PATH_MAX MICROPY_ALLOC_PATH_MAX
#define PATH_MAX MICROPY_ALLOC_PATH_MAX
#define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
#define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
#ifdef _WIN64
#define SSIZE_MAX _I64_MAX
typedef
__int64
ssize_t
;
#else
#define SSIZE_MAX _I32_MAX
typedef
int
ssize_t
;
#endif
// Put static/global variables in sections with a known name
// Put static/global variables in sections with a known name
...
...
This diff is collapsed.
Click to expand it.
windows/windows_mphal.h
+
1
−
1
View file @
5be60d69
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
*/
*/
#include
"sleep.h"
#include
"sleep.h"
#include
"unix/
unix_
mphal.h"
#include
"unix/mphal
port
.h"
#define MICROPY_HAL_HAS_VT100 (0)
#define MICROPY_HAL_HAS_VT100 (0)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment