X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fbinary-io.h;h=d9748ee25245a9098ddfce02e390ace4b2500f56;hb=fb84631f1ec8e82d252cbad0b5b7f83a98e74ba9;hp=d9892d33b4fdeb11c78a8c5f83d6657c41e9bb0c;hpb=267a39bafd249d7eb9c37df06dc6defcf41cb343;p=gnulib.git diff --git a/lib/binary-io.h b/lib/binary-io.h index d9892d33b..d9748ee25 100644 --- a/lib/binary-io.h +++ b/lib/binary-io.h @@ -1,5 +1,5 @@ /* Binary mode I/O. - Copyright (C) 2001, 2003 Free Software Foundation, Inc. + Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -39,6 +39,7 @@ #if O_BINARY # if !(defined __EMX__ || defined __DJGPP__ || defined __CYGWIN__) # define setmode _setmode +# undef fileno # define fileno _fileno # endif # if defined __DJGPP__ || defined __CYGWIN__