1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* include/ruby/win32.h: define WIN32 if neither _WIN64 nor WIN32 defined. it forces to use push/pop for pack(4) pragma.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
arton 2011-02-28 15:15:32 +00:00
parent 667833711b
commit e59654c24b
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,8 @@
Tue Mar 1 00:12:49 2011 Tajima Akio <artonx@yahoo.co.jp>
* include/ruby/win32.h: define WIN32 if neither _WIN64 nor WIN32
defined. it forces to use push/pop for pack(4) pragma.
Mon Feb 28 23:52:13 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
* test/testunit/test_rake_integration.rb (test_with_rake_runner):

View file

@ -34,6 +34,9 @@ extern "C" {
#if defined(__cplusplus) && defined(_MSC_VER)
extern "C++" { /* template without extern "C++" */
#endif
#if !defined(_WIN64) && !defined(WIN32)
#define WIN32
#endif
#include <winsock2.h>
#include <ws2tcpip.h>
#if defined(__cplusplus) && defined(_MSC_VER)