mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 09:48:00 -04:00
17 lines
387 B
Plaintext
17 lines
387 B
Plaintext
$NetBSD: patch-ai,v 1.5 2007/08/03 17:03:30 obache Exp $
|
|
|
|
--- src/mtest/mtest.c.orig 2007-06-05 20:32:31.000000000 +0000
|
|
+++ src/mtest/mtest.c
|
|
@@ -41,6 +41,11 @@
|
|
|
|
/* Excellent reasons to hate ifdefs, and why my real code never uses them */
|
|
|
|
+#if defined(__NetBSD__) /* NetBSD no longer defines unix. */
|
|
+# undef unix
|
|
+# define unix 1
|
|
+#endif
|
|
+
|
|
#ifndef unix
|
|
# define unix 0
|
|
#endif
|