summaryrefslogtreecommitdiff
path: root/benchmarks/libmicro/files/patch-siglongjmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/libmicro/files/patch-siglongjmp.c')
-rw-r--r--benchmarks/libmicro/files/patch-siglongjmp.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/benchmarks/libmicro/files/patch-siglongjmp.c b/benchmarks/libmicro/files/patch-siglongjmp.c
new file mode 100644
index 000000000000..845305aefda1
--- /dev/null
+++ b/benchmarks/libmicro/files/patch-siglongjmp.c
@@ -0,0 +1,11 @@
+--- siglongjmp.c.orig Wed Aug 31 11:53:57 2005
++++ siglongjmp.c Wed Aug 31 11:55:14 2005
+@@ -60,7 +60,7 @@
+ {
+ tsd_t *ts = (tsd_t *)tsd;
+
+- int i = 0;
++ volatile int i = 0;
+
+ (void) sigsetjmp(ts->ts_env, 1);
+