mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/dl/sym.c (rb_dlsym_guardcall): __declspec(noinline) is VC7
feature. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ad592fa016
commit
4eaf7b1186
2 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
Thu Dec 4 10:43:58 2003 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* ext/dl/sym.c (rb_dlsym_guardcall): __declspec(noinline) is VC7
|
||||
feature.
|
||||
|
||||
Thu Dec 4 10:27:12 2003 Minero Aoki <aamine@loveruby.net>
|
||||
|
||||
* lib/net/http.rb: update hyperlink to the Japanese document.
|
||||
|
|
|
@ -354,11 +354,11 @@ rb_dl_win32_set_last_error(VALUE self, VALUE val)
|
|||
|
||||
#ifdef DLSTACK_GUARD
|
||||
# ifdef __MSVC_RUNTIME_CHECKS
|
||||
# pragma runtime_checks("s", off)
|
||||
# pragma runtime_checks("s", off)
|
||||
# endif
|
||||
#ifdef _MSC_VER
|
||||
# if _MSC_VER >= 1300
|
||||
__declspec(noinline)
|
||||
#endif
|
||||
# endif
|
||||
static int
|
||||
rb_dlsym_guardcall(char type, ANY_TYPE *ret, long *stack, void *func)
|
||||
{
|
||||
|
@ -432,7 +432,7 @@ rb_dlsym_guardcall(char type, ANY_TYPE *ret, long *stack, void *func)
|
|||
return 1;
|
||||
}
|
||||
# ifdef __MSVC_RUNTIME_CHECKS
|
||||
# pragma runtime_checks("s", restore)
|
||||
# pragma runtime_checks("s", restore)
|
||||
# endif
|
||||
#endif /* defined(DLSTACK_GUARD) */
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue