patch-src_system_h 558 B

123456789101112131415161718
  1. --- grep-2.5.4.orig/src/system.h 2009-01-31 06:39:54.000000000 +0100
  2. +++ grep-2.5.4/src/system.h 2010-05-29 00:08:24.703125000 +0200
  3. @@ -56,6 +56,7 @@ extern char *sys_errlist[];
  4. #ifdef __BEOS__
  5. # undef O_BINARY /* BeOS 5 has O_BINARY and O_TEXT, but they have no effect. */
  6. #endif
  7. +/*
  8. #ifdef HAVE_DOS_FILE_CONTENTS
  9. # include <io.h>
  10. # ifdef HAVE_SETMODE
  11. @@ -64,6 +65,7 @@ extern char *sys_errlist[];
  12. # define SET_BINARY(fd) _setmode (fd, O_BINARY)
  13. # endif
  14. #endif
  15. +*/
  16. #ifdef HAVE_DOS_FILE_NAMES
  17. # define IS_SLASH(c) ((c) == '/' || (c) == '\\')