Blame gawkmisc.c

Packit 575503
/*
Packit 575503
 * gawkmisc.c --- miscellanious gawk routines that are OS specific.
Packit 575503
 */
Packit 575503
Packit 575503
/*
Packit 575503
 * Copyright (C) 1986, 1988, 1989, 1991-2004, 2010, 2011, 2017,
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
#include "awk.h"
Packit 575503
Packit 575503
#if defined(HAVE_FCNTL_H)
Packit 575503
#include <fcntl.h>
Packit 575503
#endif
Packit 575503
Packit 575503
/* some old compilers don't grok #elif. sigh */
Packit 575503
Packit 575503
#if defined(__EMX__) || defined(__DJGPP__) || defined(__MINGW32__)
Packit 575503
#include "pc/gawkmisc.pc"
Packit 575503
#else /* not __DJGPP__, not __MINGW32__ */
Packit 575503
#if defined(VMS)
Packit 575503
#include "vms/gawkmisc.vms"
Packit 575503
#else /* not VMS */
Packit 575503
#include "posix/gawkmisc.c"
Packit 575503
#endif /* not VMS */
Packit 575503
#endif /* not __DJGPP__, not __MINGW32__ */