[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
binary-io.h fix
From: |
Bruno Haible |
Subject: |
binary-io.h fix |
Date: |
Wed, 8 Jun 2005 21:32:54 +0200 |
User-agent: |
KMail/1.5 |
Hi,
I committed this fix.
2005-06-08 Bruno Haible <address@hidden>
* 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__
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- binary-io.h fix,
Bruno Haible <=