diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-09-10 13:43:27 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-09-10 13:43:27 +0000 |
commit | 3587c1c725f9ff49347a36716125ee91090efd75 (patch) | |
tree | 15bd24befffd778ee087f3eb3405730c7981ae8d /eval.c | |
parent | 46b5d7308b4c92b87b6f6c59176593d081025840 (diff) | |
download | ruby-3587c1c725f9ff49347a36716125ee91090efd75.tar.gz |
* eval.c (win32_get_exception_list): avoid VC7 warning.
[ruby-win32:577]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -7741,6 +7741,10 @@ win32_get_exception_list() # if defined _MSC_VER # ifdef _M_IX86 # define SAVE_WIN32_EXCEPTION_LIST +# if _MSC_VER >= 1310 + /* warning: unsafe assignment to fs:0 ... this is ok */ +# pragma warning(disable: 4733) +# endif __asm mov eax, fs:[0]; __asm mov p, eax; # endif |