mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
24 lines
619 B
C
24 lines
619 B
C
$NetBSD: patch-lib_Xm_Xmfuncs.h,v 1.1 2012/01/12 16:01:46 hans Exp $
|
|
|
|
Avoid all the outdated #ifdef mess on SunOS. SunOS had both bcopy/bzero/bcmp
|
|
and memmove/memcmp/memset since at least 1996.
|
|
|
|
--- lib/Xm/Xmfuncs.h.orig 2002-01-04 22:23:20.000000000 +0100
|
|
+++ lib/Xm/Xmfuncs.h 2012-01-10 19:15:58.346463824 +0100
|
|
@@ -34,6 +34,8 @@ in this Software without prior written a
|
|
|
|
/* the old Xfuncs.h, for pre-R6 */
|
|
|
|
+#ifndef __sun
|
|
+
|
|
#ifdef X_USEBFUNCS
|
|
void bcopy();
|
|
void bzero();
|
|
@@ -88,4 +90,6 @@ int bcmp();
|
|
#endif /* SYSV else */
|
|
#endif /* ! X_NOT_STDC_ENV else */
|
|
|
|
+#endif /* __sun */
|
|
+
|
|
#endif /* _XFUNCS_H_ */
|