Changeset: 05055b126891 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=05055b126891
Modified Files:
common/stream/stream.c
Branch: Oct2014
Log Message:
Windows wants _fileno.
diffs (14 lines):
diff --git a/common/stream/stream.c b/common/stream/stream.c
--- a/common/stream/stream.c
+++ b/common/stream/stream.c
@@ -726,6 +726,10 @@ getFile(stream *s)
return (FILE *) s->stream_data.p;
}
+#ifdef NATIVE_WIN32
+#define fileno(fd) _fileno(fd)
+#endif
+
size_t
getFileSize(stream *s)
{
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list