projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5b3730e
)
Avoid gcc warning on mingw.
author
Bruno Haible
<bruno@clisp.org>
Wed, 8 Jun 2005 19:32:15 +0000
(19:32 +0000)
committer
Bruno Haible
<bruno@clisp.org>
Wed, 8 Jun 2005 19:32:15 +0000
(19:32 +0000)
lib/ChangeLog
patch
|
blob
|
history
lib/binary-io.h
patch
|
blob
|
history
diff --git
a/lib/ChangeLog
b/lib/ChangeLog
index 29cc7968bc56f2812a2153b74710cabd7e4b13f5..72da16c277eb34a3b0fe7d220ff73080ced345d7 100644
(file)
--- a/
lib/ChangeLog
+++ b/
lib/ChangeLog
@@
-1,3
+1,8
@@
+2005-06-08 Bruno Haible <bruno@clisp.org>
+
+ * binary-io.h (fileno): Undefine before defining it. Avoids a gcc
+ warning on mingw.
+
2005-06-08 Bruno Haible <bruno@clisp.org>
* csharpcomp.h: New file, from GNU gettext.
2005-06-08 Bruno Haible <bruno@clisp.org>
* csharpcomp.h: New file, from GNU gettext.
diff --git
a/lib/binary-io.h
b/lib/binary-io.h
index d9892d33b4fdeb11c78a8c5f83d6657c41e9bb0c..d9748ee25245a9098ddfce02e390ace4b2500f56 100644
(file)
--- a/
lib/binary-io.h
+++ b/
lib/binary-io.h
@@
-1,5
+1,5
@@
/* Binary mode I/O.
/* 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
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
#if O_BINARY
# if !(defined __EMX__ || defined __DJGPP__ || defined __CYGWIN__)
# define setmode _setmode
+# undef fileno
# define fileno _fileno
# endif
# if defined __DJGPP__ || defined __CYGWIN__
# define fileno _fileno
# endif
# if defined __DJGPP__ || defined __CYGWIN__