Skip to content

Commit 8cce8b7

Browse files
committed
msvc: Use built-in alignof
This also fixes a 'unnamed type definition in parentheses' warning on the alignof implementation define in binary.c
1 parent 9d02780 commit 8cce8b7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

windows/mpconfigport.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ void msec_sleep(double msec);
119119

120120
#define restrict
121121
#define inline __inline
122+
#define alignof(t) __alignof(t)
122123
#define STDIN_FILENO 0
123124
#define STDOUT_FILENO 1
124125
#define STDERR_FILENO 2

0 commit comments

Comments
 (0)