#define HAVE_GETUID 1
#define HAVE_KILL 1
#define HAVE_WAIT 1
+#define HAVE_OPENDIR 1
+#define HAVE_PIPE 1
#endif
#ifndef NT
object *self;
object *args;
{
-#ifdef NT
+#if defined(NT) && !defined(HAVE_OPENDIR)
char *name;
int len;
(double)t.tms_cstime / HZ);
}
#endif /* HAVE_TIMES */
-#ifdef NT
+#if defined(NT) && !defined(HAVE_TIMES)
#define HAVE_TIMES /* so the method table will pick it up */
static object *
posix_times(self, args)
object *self;
object *args;
{
-#ifndef NT
+#if !defined(NT) || defined(HAVE_PIPE)
int fds[2];
int res;
if (!getargs(args, ""))