Changeset: 311406d0a2f3 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/311406d0a2f3 Modified Files: clients/mapiclient/mclient.c Branch: client_interrupts Log Message:
Do not use non-portable gnu extensions diffs (26 lines): diff --git a/clients/mapiclient/mclient.c b/clients/mapiclient/mclient.c --- a/clients/mapiclient/mclient.c +++ b/clients/mapiclient/mclient.c @@ -1418,7 +1418,7 @@ SQLrenderer(MapiHdl hdl) int ps = rowsperpage; bool silent = false; int64_t rows = 0; - sighandler_t prev_handler; + void (*prev_handler)(int); croppedfields = 0; fields = mapi_get_field_count(hdl); @@ -3233,11 +3233,11 @@ main(int argc, char **argv) fprintf(stderr, "error: could not set locale\n"); exit(2); } -#endif + /* Windows does't know about SIGPIPE */ if (signal(SIGPIPE, SIG_IGN) == SIG_ERR) perror("sigaction"); - +#endif if (mnstr_init() < 0) { fprintf(stderr, "error: could not initialize streams library"); exit(2); _______________________________________________ checkin-list mailing list -- checkin-list@monetdb.org To unsubscribe send an email to checkin-list-le...@monetdb.org