solaris-kernel-lacks-mem-functions-20010828
[openafs.git] / src / config / param.sun4x_57.h
index 92406be..223b155 100644 (file)
@@ -7,8 +7,8 @@
  * directory or online at http://www.openafs.org/dl/license10.html
  */
 
-#ifndef        _PARAM_SUN4X_57_H_
-#define        _PARAM_SUN4X_57_H_
+#ifndef        AFS_PARAM_H
+#define        AFS_PARAM_H
 
 #define AFS_VFS_ENV    1
 /* Used only in vfsck/* code; is it needed any more???? */
 #define AFS_KALLOC_NOSLEEP(n)   kmem_alloc(n, KM_NOSLEEP)
 #define        AFS_KFREE       kmem_free
 #define        VATTR_NULL      vattr_null
-#endif KERNEL
+#define memset(A, B, S) bzero(A, S)
+#define memcpy(B, A, S) bcopy(A, B, S)
+#define memcmp(A, B, S) bcmp(A, B, S)
+#endif /* KERNEL */
 #define        AFS_DIRENT      
 #ifndef CMSERVERPREF
 #define CMSERVERPREF
 #endif
 #define        ROOTINO         UFSROOTINO
 
-#endif _PARAM_SUN4X_57_H_
+#endif /* AFS_PARAM_H */