summaryrefslogtreecommitdiffstats
path: root/contrib/awk/replace.c
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-11-02 21:06:08 +0000
committerobrien <obrien@FreeBSD.org>2001-11-02 21:06:08 +0000
commit223f0286ad0612783e0da01de3b5bfdc52e3b25c (patch)
treecd2c7fd87952f47d303b90e49b90c14bccf7e292 /contrib/awk/replace.c
parent4e5281d00b8fa7447d70020d36660157e7e43626 (diff)
downloadFreeBSD-src-223f0286ad0612783e0da01de3b5bfdc52e3b25c.zip
FreeBSD-src-223f0286ad0612783e0da01de3b5bfdc52e3b25c.tar.gz
Update vendor branch to gawk-3.1.0.
Diffstat (limited to 'contrib/awk/replace.c')
-rw-r--r--contrib/awk/replace.c70
1 files changed, 70 insertions, 0 deletions
diff --git a/contrib/awk/replace.c b/contrib/awk/replace.c
new file mode 100644
index 0000000..81e1745
--- /dev/null
+++ b/contrib/awk/replace.c
@@ -0,0 +1,70 @@
+/*
+ * Do all necessary includes here, so that we don't have to worry about
+ * overlapping includes in the files in missing.d.
+ */
+#include "config.h"
+#include "awk.h"
+
+
+#ifdef atarist
+/*
+ * this will work with gcc compiler - for other compilers you may
+ * have to replace path separators in this file into backslashes
+ */
+#include "unsupported/atari/stack.c"
+#include "unsupported/atari/tmpnam.c"
+#endif /* atarist */
+
+#ifndef HAVE_SYSTEM
+#ifdef atarist
+#include "unsupported/atari/system.c"
+#else
+#include "missing_d/system.c"
+#endif
+#endif /* HAVE_SYSTEM */
+
+#ifndef HAVE_MEMCMP
+#include "missing_d/memcmp.c"
+#endif /* HAVE_MEMCMP */
+
+#ifndef HAVE_MEMCPY
+#include "missing_d/memcpy.c"
+#endif /* HAVE_MEMCPY */
+
+#ifndef HAVE_MEMSET
+#include "missing_d/memset.c"
+#endif /* HAVE_MEMSET */
+
+#ifndef HAVE_STRNCASECMP
+#include "missing_d/strncasecmp.c"
+#endif /* HAVE_STRCASE */
+
+#ifndef HAVE_STRERROR
+#include "missing_d/strerror.c"
+#endif /* HAVE_STRERROR */
+
+#ifndef HAVE_STRFTIME
+#include "missing_d/strftime.c"
+#endif /* HAVE_STRFTIME */
+
+#ifndef HAVE_STRCHR
+#include "missing_d/strchr.c"
+#endif /* HAVE_STRCHR */
+
+#if !defined(HAVE_STRTOD) || defined(STRTOD_NOT_C89)
+#include "missing_d/strtod.c"
+#endif /* HAVE_STRTOD */
+
+#ifndef HAVE_TZSET
+#include "missing_d/tzset.c"
+#endif /* HAVE_TZSET */
+
+#ifndef HAVE_MKTIME
+#include "missing_d/mktime.c"
+#endif /* HAVE_MKTIME */
+
+#if defined TANDEM
+#include "strdupc"
+#include "getidc"
+#include "strnchkc"
+#endif /* TANDEM */
OpenPOWER on IntegriCloud