bdc9385669
Express interest in nroff via USE_TOOLS. Expect sys/types.h to provide size_t. Fix errno. Don't define prototypes for ISO C / POSIX functions. short gets promoted to int, float to double, so use va_arg with the promoted types.
44 lines
1.3 KiB
Text
44 lines
1.3 KiB
Text
$NetBSD: patch-aj,v 1.1 2006/01/24 22:47:13 joerg Exp $
|
|
|
|
--- config.h.SH.orig 2005-08-18 12:49:24.000000000 +0000
|
|
+++ config.h.SH
|
|
@@ -40,34 +40,34 @@ sed <<!GROK!THIS! >config.h -e 's!^#unde
|
|
/* GETOPT:
|
|
* This symbol, if defined, indicates that the getopt() routine exists.
|
|
*/
|
|
-#$d_getopt GETOPT /**/
|
|
+#define GETOPT /**/
|
|
|
|
/* MEMCPY:
|
|
* This symbol, if defined, indicates that the memcpy routine is available
|
|
* to copy blocks of memory. Otherwise you should probably use bcopy().
|
|
* If neither is defined, roll your own.
|
|
*/
|
|
-#$d_memcpy MEMCPY /**/
|
|
+#define MEMCPY /**/
|
|
|
|
/* MKDIR:
|
|
* This symbol, if defined, indicates that the mkdir routine is available
|
|
* to create directories. Otherwise you should fork off a new process to
|
|
* exec /bin/mkdir.
|
|
*/
|
|
-#$d_mkdir MKDIR /**/
|
|
+#define MKDIR /**/
|
|
|
|
/* RENAME:
|
|
* This symbol, if defined, indicates that the rename routine is available
|
|
* to rename files. Otherwise you should do the unlink(), link(), unlink()
|
|
* trick.
|
|
*/
|
|
-#$d_rename RENAME /**/
|
|
+#define RENAME /**/
|
|
|
|
/* SYMLINK:
|
|
* This symbol, if defined, indicates that the symlink routine is available
|
|
* to create symbolic links.
|
|
*/
|
|
-#$d_symlink SYMLINK /**/
|
|
+#define SYMLINK /**/
|
|
|
|
/* WHOAMI:
|
|
* This symbol, if defined, indicates that the program may include
|