aboutsummaryrefslogtreecommitdiffstats
path: root/nonposix.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2013-08-20 21:22:53 +0300
committerArnold D. Robbins <arnold@skeeve.com>2013-08-20 21:22:53 +0300
commit445f13a1e5eff0b0f520118fd89db7fe0a7b0aa8 (patch)
tree4467b3b8a1397fb585aa3b47a4b8aa61710e5acd /nonposix.h
parentf209a8dc1991803899d815a1be12da803e852e00 (diff)
parent844e16cea1ffe0e02b5b727fd8960271d1842020 (diff)
downloadegawk-445f13a1e5eff0b0f520118fd89db7fe0a7b0aa8.tar.gz
egawk-445f13a1e5eff0b0f520118fd89db7fe0a7b0aa8.tar.bz2
egawk-445f13a1e5eff0b0f520118fd89db7fe0a7b0aa8.zip
Merge branch 'gawk-4.1-stable'
Diffstat (limited to 'nonposix.h')
-rw-r--r--nonposix.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/nonposix.h b/nonposix.h
new file mode 100644
index 00000000..88fd9e69
--- /dev/null
+++ b/nonposix.h
@@ -0,0 +1,31 @@
+/*
+ * nonposix.h --- definitions needed on non-POSIX systems.
+ */
+
+/*
+ * Copyright (C) 2012, 2013 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 3 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+/*
+ * This is for fake directory file descriptors on systems that don't
+ * allow to open() a directory.
+ */
+
+#define FAKE_FD_VALUE 42