summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorwlemb <wlemb>2003-03-11 15:22:02 +0000
committerwlemb <wlemb>2003-03-11 15:22:02 +0000
commita0d84a8c7ac9d3c7aea01fbb9e96c688bfa4093a (patch)
tree05427e753dc9efb9681813455c036accf8784ead /src/include
parente5a5511bec4711ad70aee2b3dcc294140951969b (diff)
downloadgroff-a0d84a8c7ac9d3c7aea01fbb9e96c688bfa4093a.tar.gz
* src/include/nonposix.h: Provide default for SET_BINARY.
* src/devices/grodvi/dvi.cc, src/devices/grolbp/lbp.cc, src/devices/grolj4/lj4.cc, src/devices/grops/ps.cc: Call SET_BINARY unconditionally. * src/utils/pfbtops/pfbtops.c: Call SET_BINARY unconditionally. (main): Treat \r\n as \n.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/nonposix.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/nonposix.h b/src/include/nonposix.h
index 88a1a214..73422d92 100644
--- a/src/include/nonposix.h
+++ b/src/include/nonposix.h
@@ -100,6 +100,9 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
/* Defaults, for Posix systems. */
+#ifndef SET_BINARY
+# define SET_BINARY(f) do {} while(0)
+#endif
#ifndef FOPEN_RB
# define FOPEN_RB "r"
#endif