home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / gnuawk.zip / custom.h < prev    next >
C/C++ Source or Header  |  1997-05-01  |  2KB  |  60 lines

  1. /*
  2.  * custom.h
  3.  *
  4.  * This file is for use on systems where Autoconf isn't quite able to
  5.  * get things right. It is included after config.h in awk.h, to override
  6.  * definitions from Autoconf that are erroneous. See the manual for more
  7.  * information.
  8.  *
  9.  * If you make additions to this file for your system, please send me
  10.  * the information, to arnold@gnu.ai.mit.edu.
  11.  */
  12.  
  13. /* 
  14.  * Copyright (C) 1995-1997 the Free Software Foundation, Inc.
  15.  * 
  16.  * This file is part of GAWK, the GNU implementation of the
  17.  * AWK Programming Language.
  18.  * 
  19.  * GAWK is free software; you can redistribute it and/or modify
  20.  * it under the terms of the GNU General Public License as published by
  21.  * the Free Software Foundation; either version 2 of the License, or
  22.  * (at your option) any later version.
  23.  * 
  24.  * GAWK is distributed in the hope that it will be useful,
  25.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  26.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  27.  * GNU General Public License for more details.
  28.  * 
  29.  * You should have received a copy of the GNU General Public License
  30.  * along with this program; if not, write to the Free Software
  31.  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA
  32.  */
  33.  
  34. /* for MIPS RiscOS, from Nelson H. F. Beebe, beebe@math.utah.edu */
  35. #if defined(__host_mips) && defined(SYSTYPE_BSD43)
  36. #undef HAVE_STRTOD
  37. #undef HAVE_STRERROR
  38. #endif
  39.  
  40. /* for VMS POSIX, from Pat Rankin, rankin@eql.caltech.edu */
  41. #ifdef VMS_POSIX
  42. #undef VMS
  43. #include "vms/redirect.h"
  44. #endif
  45.  
  46. /* For QNX, based on submission from Michael Hunter, mphunter@qnx.com */
  47. #ifdef __QNX__
  48. #define GETPGRP_VOID    1
  49. #endif
  50.  
  51. /* For Amigas, from Fred Fish, fnf@ninemoons.com */
  52. #ifdef __amigaos__
  53. #define fork vfork
  54. #endif
  55.  
  56. /* For sequent, based on email with Aron Griffis <agriffis@calypso.coat.com> */
  57. #ifdef _SEQUENT_
  58. #undef HAVE_MMAP
  59. #endif
  60.