yet another problem with cygwin
Vadim Egorov
egorovv@HotPOP.com
Fri Oct 15 02:35:00 GMT 1999
Hi,
This patch fixes one of the library build problems under Cygwin where O_BINARY
happend to be defined.
1999-10-15 Vadim Egorov <egorovv@HotPOP.com>
* src/basic_file.cc: ifdef instead of comment for binary mode
Index: basic_file.cc
===================================================================
RCS file: /cvs/libstdc++/libstdc++/src/basic_file.cc,v
retrieving revision 1.19
diff -c -r1.19 basic_file.cc
*** basic_file.cc 1999/10/04 22:56:13 1.19
--- basic_file.cc 1999/10/15 08:56:23
***************
*** 98,104 ****
int __prot = 0664)
{
__basic_file* __retval = NULL;
! //bool __testb = __mode & ios_base::binary;
bool __testi = __mode & ios_base::in;
bool __testo = __mode & ios_base::out;
bool __testt = __mode & ios_base::trunc;
--- 98,106 ----
int __prot = 0664)
{
__basic_file* __retval = NULL;
! #ifdef O_BINARY
! bool __testb = __mode & ios_base::binary;
! #endif
bool __testi = __mode & ios_base::in;
bool __testo = __mode & ios_base::out;
bool __testt = __mode & ios_base::trunc;
--
Regards,
Vadim Egorov
More information about the Libstdc++
mailing list