summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-01-02 11:21:37 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-01-02 11:21:37 +0000
commit71f2c89d496471b1b2d3dfa1a66af5f5882df56b (patch)
treee140981f34a52dc7ce56d8ccf63c30bc1dd27170 /usr.bin
parent4fc5db287d96825fad446f0551a55a4977ba65ef (diff)
deal with FD_ZERO changes; from augustss@cs.chalmers.se; netbsd pr#1872
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/tn3270/general/general.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/tn3270/general/general.h b/usr.bin/tn3270/general/general.h
index 49146364d14..f5e2775342a 100644
--- a/usr.bin/tn3270/general/general.h
+++ b/usr.bin/tn3270/general/general.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)general.h 4.2 (Berkeley) 4/26/91
- * $Id: general.h,v 1.1 1995/10/18 08:46:22 deraadt Exp $
+ * $Id: general.h,v 1.2 1996/01/02 11:21:36 deraadt Exp $
*/
/*
@@ -49,7 +49,8 @@
#define ClearArray(x) memset((char *)x, 0, sizeof x)
#endif /* defined(unix) */
-#if defined(unix) /* Define BSD equivalent mem* functions */
+/* Define BSD equivalent mem* functions */
+#if defined(unix) && !defined(__NetBSD__)
#define memcpy(dest,src,n) bcopy(src,dest,n)
#define memmove(dest,src,n) bcopy(src,dest,n)
#define memset(s,c,n) if (c == 0) { \
@@ -63,4 +64,4 @@
} \
}
#define memcmp(s1,s2,n) bcmp(s1,s2,n)
-#endif /* defined(unix) */
+#endif /* defined(unix) && !defined(__NetBSD__) */