summaryrefslogtreecommitdiff
path: root/lib/binary-io.h
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-12-16 09:24:23 -0700
committerEric Blake <ebb9@byu.net>2009-12-16 19:25:28 -0700
commit12126c1477f0ae1070c51ed76025f21cb6ea56e7 (patch)
tree2ea0864611dbbca5e34a7b55bb002003447eef3e /lib/binary-io.h
parent4215bcc7e5202438ec9d981d1753bd442871e05a (diff)
downloadgnulib-12126c1477f0ae1070c51ed76025f21cb6ea56e7.tar.gz
binary-io: avoid potential compilation warning
* lib/binary-io.h [__DJGPP__]: Avoid null preprocessor directives. Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'lib/binary-io.h')
-rw-r--r--lib/binary-io.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/binary-io.h b/lib/binary-io.h
index b1dc629164..9851511b35 100644
--- a/lib/binary-io.h
+++ b/lib/binary-io.h
@@ -1,5 +1,6 @@
/* Binary mode I/O.
- Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2003, 2005, 2008, 2009 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
@@ -45,9 +46,9 @@
# endif
# ifdef __DJGPP__
# include <unistd.h> /* declares isatty() */
-# /* Avoid putting stdin/stdout in binary mode if it is connected to the
-# console, because that would make it impossible for the user to
-# interrupt the program through Ctrl-C or Ctrl-Break. */
+ /* Avoid putting stdin/stdout in binary mode if it is connected to
+ the console, because that would make it impossible for the user
+ to interrupt the program through Ctrl-C or Ctrl-Break. */
# define SET_BINARY(fd) (!isatty (fd) ? (setmode (fd, O_BINARY), 0) : 0)
# else
# define SET_BINARY(fd) setmode (fd, O_BINARY)