From 21429b1488faf58b6683eef2c9c24e00796a32ae Mon Sep 17 00:00:00 2001 From: shyouhei Date: Mon, 15 Jan 2018 02:35:17 +0000 Subject: __alignof__ to take alignment of a type C11 and C++11 has this feature so why not use it when available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- win32/Makefile.sub | 1 + 1 file changed, 1 insertion(+) (limited to 'win32') diff --git a/win32/Makefile.sub b/win32/Makefile.sub index a3ac277dd2..8308d51767 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -637,6 +637,7 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub !endif #define RUBY_EXTERN extern __declspec(dllimport) #define RUBY_ALIGNAS(n) __declspec(align(n)) +#define RUBY_ALIGNOF __alignof #define HAVE_DECL_SYS_NERR 1 #define HAVE_LIMITS_H 1 #define HAVE_FCNTL_H 1 -- cgit v1.2.3