Author: jgardou
Date: Wed Aug 22 18:42:57 2012
New Revision: 57136
URL:
http://svn.reactos.org/svn/reactos?rev=57136&view=rev
Log:
[INCLUDE/C++]
- Add fake iostream headers to fix MSVC compilation
- hack numerical_limits<float>::infinity() implementation until we have a real C++
library
Oddly, empty headers seem to be enough for now
Added:
trunk/reactos/include/c++/fstream (with props)
trunk/reactos/include/c++/ios (with props)
trunk/reactos/include/c++/iostream (with props)
trunk/reactos/include/c++/istream (with props)
trunk/reactos/include/c++/sstream (with props)
Modified:
trunk/reactos/include/c++/limits
Added: trunk/reactos/include/c++/fstream
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/c%2B%2B/fstream?re…
==============================================================================
(empty)
Propchange: trunk/reactos/include/c++/fstream
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/include/c++/ios
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/c%2B%2B/ios?rev=57…
==============================================================================
(empty)
Propchange: trunk/reactos/include/c++/ios
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/include/c++/iostream
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/c%2B%2B/iostream?r…
==============================================================================
(empty)
Propchange: trunk/reactos/include/c++/iostream
------------------------------------------------------------------------------
svn:eol-style = native
Added: trunk/reactos/include/c++/istream
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/c%2B%2B/istream?re…
==============================================================================
(empty)
Propchange: trunk/reactos/include/c++/istream
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/include/c++/limits
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/c%2B%2B/limits?rev…
==============================================================================
--- trunk/reactos/include/c++/limits [iso-8859-1] (original)
+++ trunk/reactos/include/c++/limits [iso-8859-1] Wed Aug 22 18:42:57 2012
@@ -938,7 +938,11 @@
// infinity
static const bool has_infinity = true;
static float infinity( ) throw( )
- {return _FInf._Float;}
+ //{return _FInf._Float;}
+ {
+ static const unsigned __inf_bytes = 0x7f800000;
+ return *(float*)&__inf_bytes;
+ }
// Denormalization
static const float_denorm_style has_denorm = denorm_present;
Added: trunk/reactos/include/c++/sstream
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/c%2B%2B/sstream?re…
==============================================================================
(empty)
Propchange: trunk/reactos/include/c++/sstream
------------------------------------------------------------------------------
svn:eol-style = native