diff options
author | stijn <stinos@zoho.com> | 2014-08-13 10:19:56 +0200 |
---|---|---|
committer | stijn <stinos@zoho.com> | 2014-08-13 10:19:56 +0200 |
commit | 8cce8b7c4c561ffeb0548bb0e0df1e9d659d9d68 (patch) | |
tree | 97f94e94967d47a86c4f17c8e22cbed51a30c93d | |
parent | 9d02780eafd9546354fd3ac429b0211f52331650 (diff) | |
download | micropython-8cce8b7c4c561ffeb0548bb0e0df1e9d659d9d68.tar.gz micropython-8cce8b7c4c561ffeb0548bb0e0df1e9d659d9d68.zip |
msvc: Use built-in alignof
This also fixes a 'unnamed type definition in parentheses' warning on the
alignof implementation define in binary.c
-rw-r--r-- | windows/mpconfigport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/windows/mpconfigport.h b/windows/mpconfigport.h index 93b450dbbc..13ba58be13 100644 --- a/windows/mpconfigport.h +++ b/windows/mpconfigport.h @@ -119,6 +119,7 @@ void msec_sleep(double msec); #define restrict #define inline __inline +#define alignof(t) __alignof(t) #define STDIN_FILENO 0 #define STDOUT_FILENO 1 #define STDERR_FILENO 2 |