summaryrefslogtreecommitdiff
path: root/win32/Makefile.sub
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-25 03:07:06 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-02-25 03:07:06 +0000
commit3d3711efd3a4e77d8ebb6a29c29687ffb6308445 (patch)
treef5c38e4cc01a5754be76a54a0a79f0b6d576918c /win32/Makefile.sub
parent8cbca98f569529ee916800a854e54735dde36c7e (diff)
* win32/Makefile.sub: define PACKED_STRUCT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/Makefile.sub')
-rw-r--r--win32/Makefile.sub2
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index e64b70e..03cf781 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -570,6 +570,8 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub
!if $(MSC_VER) >= 1500
#define RUBY_FUNCTION_NAME_STRING __FUNCTION__
!endif
+#define PACKED_STRUCT
+#define PACKED_STRUCT_UNALIGNED
#define RUBY_EXTERN extern __declspec(dllimport)
#define HAVE_DECL_SYS_NERR 1
#define HAVE_LIMITS_H 1