Hi,

I committed this fix.


2005-06-08  Bruno Haible  <[EMAIL PROTECTED]>

        * binary-io.h (fileno): Undefine before defining it. Avoids a gcc
        warning on mingw.

*** binary-io.h 19 May 2005 17:17:15 -0000      1.3
--- binary-io.h 8 Jun 2005 19:24:24 -0000
***************
*** 1,5 ****
  /* Binary mode I/O.
!    Copyright (C) 2001, 2003 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
--- 1,5 ----
  /* Binary mode I/O.
!    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,44 ****
--- 39,45 ----
  #if O_BINARY
  # if !(defined __EMX__ || defined __DJGPP__ || defined __CYGWIN__)
  #  define setmode _setmode
+ #  undef fileno
  #  define fileno _fileno
  # endif
  # if defined __DJGPP__ || defined __CYGWIN__



_______________________________________________
bug-gnulib mailing list
bug-gnulib@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnulib

Reply via email to