|
From: Tobias S. <t_s...@us...> - 2005-04-15 19:39:53
|
Update of /cvsroot/adobe-source/sandbox/adobe-source/adobe/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2704/adobe-source/adobe/source Modified Files: istream.cpp Log Message: Adds a workaround to disable automatic line-ending conversion when compiling with MinGW (GCC). Index: istream.cpp =================================================================== RCS file: /cvsroot/adobe-source/sandbox/adobe-source/adobe/source/istream.cpp,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** istream.cpp 15 Apr 2005 13:22:51 -0000 1.3 --- istream.cpp 15 Apr 2005 19:39:44 -0000 1.4 *************** *** 119,120 **** --- 119,134 ---- /*************************************************************************************************/ + + /* + REVISIT (t_schwinger) : This is needed to disable automatic CR-LF conversion, which seems + to be broken in MinGW 3.2 (GCC 3.4). + */ + #ifdef __MINGW32__ + extern "C" + { + #include <fcntl.h> + unsigned int _CRT_fmode = _O_BINARY; + } + #endif + + /*************************************************************************************************/ |