Files
haiku-beta6/src/bin/gawk/custom.h
T
Axel Dörfler 17049c451a Moved bin/ directory out of apps/.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-19 00:09:19 +00:00

105 lines
2.7 KiB
C

/*
* custom.h
*
* This file is for use on systems where Autoconf isn't quite able to
* get things right. It is appended to the bottom of config.h by configure,
* in order to override definitions from Autoconf that are erroneous. See
* the manual for more information.
*
* If you make additions to this file for your system, please send me
* the information, to [email protected].
*/
/*
* Copyright (C) 1995-2003 the Free Software Foundation, Inc.
*
* This file is part of GAWK, the GNU implementation of the
* AWK Programming Language.
*
* GAWK is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* GAWK is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
/* for MIPS RiscOS, from Nelson H. F. Beebe, [email protected] */
#if defined(__host_mips) && defined(SYSTYPE_BSD43)
#undef HAVE_STRTOD
#undef HAVE_STRERROR
#endif
/* for VMS POSIX, from Pat Rankin, [email protected] */
#ifdef VMS_POSIX
#undef VMS
#include "vms/redirect.h"
#endif
/* For QNX, based on submission from Michael Hunter, [email protected] */
#ifdef __QNX__
#define GETPGRP_VOID 1
#endif
/* For Amigas, from Fred Fish, [email protected] */
#ifdef __amigaos__
#define fork vfork
#endif
/* For BeOS, from [email protected] */
#if defined(__dest_os) && __dest_os == __be_os
#define BROKEN_STRNCASECMP
#define ELIDE_CODE
#include <alloca.h>
#endif
/* For Tandems, based on code from [email protected] */
#ifdef TANDEM
#define tempnam(a,b) tmpnam(NULL)
#define variable(a,b,c) variabl(a,b,c)
#define srandom srand
#define random rand
#include <cextdecs(PROCESS_GETINFO_)>
#endif
/* For 16-bit DOS */
#if defined(MSC_VER) && defined(MSDOS)
#define NO_PROFILING 1
#endif
/* For MacOS X, which is almost BSD Unix */
#ifdef __APPLE__
#define HAVE_MKTIME 1
#endif
#ifdef __WIN32__
#undef HAVE_STRFTIME
/* #define system(s) os_system(s) */
#endif
/* For ULTRIX 4.3 */
#ifdef ultrix
#define HAVE_MKTIME 1
#define GETGROUPS_NOT_STANDARD 1
#endif
/* For whiny users */
#ifdef USE_INCLUDED_STRFTIME
#undef HAVE_STRFTIME
#endif
/* For HP/UX with gcc */
#if defined(hpux) || defined(_HPUX_SOURCE)
#undef HAVE_TZSET
#define HAVE_TZSET 1
#define _TZSET 1
#endif