Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(304)

Side by Side Diff: ports/gambc/nacl.patch

Issue 150413008: Initial support for gambit-scheme v4.7.0 Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: Add support for pnacl Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ports/gambc/gambc-v4_7_0.sha1 ('k') | ports/gambc/pkg_info » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 diff --git a/lib/os.c b/lib/os.c
2 index 24991b2..7102dda 100644
3 --- a/lib/os.c
4 +++ b/lib/os.c
5 @@ -378,8 +378,8 @@ ___SIZE_TS *majflt;)
6
7 if (getrusage (RUSAGE_SELF, &ru) == 0)
8 {
9 - *minflt = ru.ru_minflt;
10 - *majflt = ru.ru_majflt;
11 + *minflt = 0; // ru.ru_minflt;
12 + *majflt = 0; // ru.ru_majflt;
13 }
14 else
15 {
16 diff --git a/lib/os_tty.c b/lib/os_tty.c
17 index 69c7784..2386f76 100644
18 --- a/lib/os_tty.c
19 +++ b/lib/os_tty.c
20 @@ -7157,7 +7157,7 @@ ___HIDDEN ___SCMOBJ lineeditor_process_events
21 (self)
22 ___device_tty *self;)
23 {
24 -#define AGGREGATION_BUFFER_SIZE (80*50)
25 +#define AGGREGATION_BUFFER_SIZE 1
26
27 ___device_tty *d = self;
28 ___SCMOBJ e1;
29 diff --git a/include/gambit.h.in b/include/gambit.h.in
30 index 4c44a1e..99aefb9 100644
31 --- a/include/gambit.h.in
32 +++ b/include/gambit.h.in
33 @@ -1304,7 +1304,7 @@
34
35 #include <setjmp.h>
36
37 -#ifdef setjmp
38 +#if defined(setjmp) || (defined(__native_client__) && defined(__clang__))
39 #undef ___CAN_IMPORT_SETJMP_DYNAMICALLY
40 #define ___CAN_IMPORT_SETJMP_DYNAMICALLY
41 #endif
42
OLDNEW
« no previous file with comments | « ports/gambc/gambc-v4_7_0.sha1 ('k') | ports/gambc/pkg_info » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698