From 533053e3a5f597a89ac510631e20f6e8d6cc1c8a Mon Sep 17 00:00:00 2001 From: Daniel Larimer Date: Mon, 10 Sep 2012 19:58:55 -0500 Subject: [PATCH] fixes for linux --- src/stream.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stream.cpp b/src/stream.cpp index efc4423..aa4812c 100644 --- a/src/stream.cpp +++ b/src/stream.cpp @@ -35,7 +35,7 @@ namespace fc { }; std::istream& get_cin_stream() { static io::stream cin_stream;// = cin_source(); - cin_stream.open(NULL); + cin_stream.open(0); return cin_stream; }