summaryrefslogtreecommitdiff
path: root/lang/ruby19/files/patch-cont.c
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ruby19/files/patch-cont.c')
-rw-r--r--lang/ruby19/files/patch-cont.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lang/ruby19/files/patch-cont.c b/lang/ruby19/files/patch-cont.c
index 3a18d265e3a8..e1323213601d 100644
--- a/lang/ruby19/files/patch-cont.c
+++ b/lang/ruby19/files/patch-cont.c
@@ -1,11 +1,11 @@
---- cont.c.orig 2011-11-18 03:37:32.000000000 -0800
-+++ cont.c 2011-11-18 03:38:22.000000000 -0800
+--- cont.c.orig 2012-02-16 22:31:17.691397569 -0500
++++ cont.c 2012-02-16 22:31:31.507395417 -0500
@@ -15,7 +15,7 @@
#include "gc.h"
#include "eval_intern.h"
--#if ((defined(_WIN32) && _WIN32_WINNT >= 0x0400) || defined(HAVE_SETCONTEXT)) && !defined(__NetBSD__) && !defined(sun) && !defined(FIBER_USE_NATIVE)
-+#if ((defined(_WIN32) && _WIN32_WINNT >= 0x0400) || defined(HAVE_SETCONTEXT)) && !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(sun) && !defined(FIBER_USE_NATIVE)
+-#if ((defined(_WIN32) && _WIN32_WINNT >= 0x0400) || (defined(HAVE_GETCONTEXT) && defined(HAVE_SETCONTEXT))) && !defined(__NetBSD__) && !defined(sun) && !defined(FIBER_USE_NATIVE)
++#if ((defined(_WIN32) && _WIN32_WINNT >= 0x0400) || (defined(HAVE_GETCONTEXT) && defined(HAVE_SETCONTEXT))) && !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(sun) && !defined(FIBER_USE_NATIVE)
#define FIBER_USE_NATIVE 1
/* FIBER_USE_NATIVE enables Fiber performance improvement using system