From 8cce8b7c4c561ffeb0548bb0e0df1e9d659d9d68 Mon Sep 17 00:00:00 2001 From: stijn Date: Wed, 13 Aug 2014 10:19:56 +0200 Subject: [PATCH] msvc: Use built-in alignof This also fixes a 'unnamed type definition in parentheses' warning on the alignof implementation define in binary.c --- windows/mpconfigport.h | 1 + 1 file changed, 1 insertion(+) 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