Blame custom.h

Packit 575503
/*
Packit 575503
 * custom.h
Packit 575503
 *
Packit 575503
 * This file is for use on systems where Autoconf isn't quite able to
Packit 575503
 * get things right. It is appended to the bottom of config.h by configure,
Packit 575503
 * in order to override definitions from Autoconf that are erroneous. See
Packit 575503
 * the manual for more information.
Packit 575503
 *
Packit 575503
 * If you make additions to this file for your system, please send me
Packit 575503
 * the information, to arnold@skeeve.com.
Packit 575503
 */
Packit 575503
Packit 575503
/*
Packit 575503
 * Copyright (C) 1995-2004, 2008, 2009, 2011, 2016
Packit 575503
 * the Free Software Foundation, Inc.
Packit 575503
 *
Packit 575503
 * This file is part of GAWK, the GNU implementation of the
Packit 575503
 * AWK Programming Language.
Packit 575503
 *
Packit 575503
 * GAWK is free software; you can redistribute it and/or modify
Packit 575503
 * it under the terms of the GNU General Public License as published by
Packit 575503
 * the Free Software Foundation; either version 3 of the License, or
Packit 575503
 * (at your option) any later version.
Packit 575503
 *
Packit 575503
 * GAWK is distributed in the hope that it will be useful,
Packit 575503
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 575503
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit 575503
 * GNU General Public License for more details.
Packit 575503
 *
Packit 575503
 * You should have received a copy of the GNU General Public License
Packit 575503
 * along with this program; if not, write to the Free Software
Packit 575503
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
Packit 575503
 */
Packit 575503
Packit 575503
/* for VMS POSIX, from Pat Rankin, r.pat.rankin@gmail.com */
Packit 575503
#ifdef VMS_POSIX
Packit 575503
#undef VMS
Packit 575503
#include "vms/redirect.h"
Packit 575503
#endif
Packit 575503
Packit 575503
/* For QNX, based on submission from Michael Hunter, mphunter@qnx.com */
Packit 575503
#ifdef __QNX__
Packit 575503
#define GETPGRP_VOID	1
Packit 575503
#endif
Packit 575503
Packit 575503
/* For MacOS X, which is almost BSD Unix */
Packit 575503
#ifdef __APPLE__
Packit 575503
#define HAVE_MKTIME	1
Packit 575503
#endif
Packit 575503
Packit 575503
/* For whiny users */
Packit 575503
#ifdef USE_INCLUDED_STRFTIME
Packit 575503
#undef HAVE_STRFTIME
Packit 575503
#endif
Packit 575503
Packit 575503
/* For HP/UX with gcc */
Packit 575503
#if defined(hpux) || defined(_HPUX_SOURCE)
Packit 575503
#undef HAVE_TZSET
Packit 575503
#define HAVE_TZSET 1
Packit 575503
#define _TZSET 1
Packit 575503
#endif
Packit 575503
Packit 575503
#if defined(_AIX)
Packit 575503
#define _XOPEN_SOURCE_EXTENDED 1
Packit 575503
#endif
Packit 575503
Packit 575503
/* Junk for dfa.[ch] */
Packit 575503
/* The __pure__ attribute was added in gcc 2.96.  */
Packit 575503
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96)
Packit 575503
# define _GL_ATTRIBUTE_PURE __attribute__ ((__pure__))
Packit 575503
#else
Packit 575503
# define _GL_ATTRIBUTE_PURE /* empty */
Packit 575503
#endif