зеркало из https://github.com/github/ruby.git
* 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:
Родитель
667833711b
Коммит
e59654c24b
|
@ -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):
|
||||
|
|
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче