Changeset: ba9602e830d4 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/ba9602e830d4
Modified Files:
        clients/mapiclient/mclient.c
Branch: default
Log Message:

Windows compilation fix


diffs (24 lines):

diff --git a/clients/mapiclient/mclient.c b/clients/mapiclient/mclient.c
--- a/clients/mapiclient/mclient.c
+++ b/clients/mapiclient/mclient.c
@@ -2615,8 +2615,10 @@ doFile(Mapi mid, stream *fp, bool useins
                                                }
                                                q += snprintf(q, endq - q, " 
ORDER BY fullname, type, remark");
 
+#ifdef HAVE_POPEN
                                                stream *saveFD;
                                                start_pager(&saveFD);
+#endif
 
                                                hdl = mapi_query(mid, query);
                                                free(query);
@@ -2650,7 +2652,9 @@ doFile(Mapi mid, stream *fp, bool useins
                                                }
                                                mapi_close_handle(hdl);
                                                hdl = NULL;
+#ifdef HAVE_POPEN
                                                end_pager(saveFD);
+#endif
                                        }
                                        continue;
                                }
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to