[前][次][番号順一覧][スレッド一覧]

ruby-changes:28514

From: nobu <ko1@a...>
Date: Fri, 3 May 2013 13:22:35 +0900 (JST)
Subject: [ruby-changes:28514] nobu:r40566 (trunk): win32.c: fix build error

nobu	2013-05-03 13:22:24 +0900 (Fri, 03 May 2013)

  New Revision: 40566

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40566

  Log:
    win32.c: fix build error
    
    * win32/win32.c (poll_child_status): fix build error on older mingw.

  Modified files:
    trunk/ChangeLog
    trunk/win32/win32.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 40565)
+++ ChangeLog	(revision 40566)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri May  3 13:22:12 2013  Nobuyoshi Nakada  <nobu@r...>
+
+	* win32/win32.c (poll_child_status): fix build error on older mingw.
+
 Fri May  3 00:15:58 2013  Ayumu AIZAWA  <ayumu.aizawa@g...>
 
 	* common.mk: remove timestamps in distclean-ext realclean-ext.
Index: win32/win32.c
===================================================================
--- win32/win32.c	(revision 40565)
+++ win32/win32.c	(revision 40566)
@@ -3925,8 +3925,12 @@ poll_child_status(struct ChildRecord *ch https://github.com/ruby/ruby/blob/trunk/win32/win32.c#L3925
 		    {STATUS_FLOAT_OVERFLOW,          SIGFPE},
 		    {STATUS_FLOAT_STACK_CHECK,       SIGFPE},
 		    {STATUS_FLOAT_UNDERFLOW,         SIGFPE},
+#ifdef STATUS_FLOAT_MULTIPLE_FAULTS
 		    {STATUS_FLOAT_MULTIPLE_FAULTS,   SIGFPE},
+#endif
+#ifdef STATUS_FLOAT_MULTIPLE_TRAPS
 		    {STATUS_FLOAT_MULTIPLE_TRAPS,    SIGFPE},
+#endif
 		    {STATUS_CONTROL_C_EXIT,          SIGINT},
 		};
 		int i;

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]