summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-09-10 13:43:27 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-09-10 13:43:27 +0000
commit3587c1c725f9ff49347a36716125ee91090efd75 (patch)
tree15bd24befffd778ee087f3eb3405730c7981ae8d /eval.c
parent46b5d7308b4c92b87b6f6c59176593d081025840 (diff)
* 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.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/eval.c b/eval.c
index 7119596b3a..435de81487 100644
--- a/eval.c
+++ b/eval.c
@@ -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