Merged changes from branch build_system_redesign at revision 14573.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14574 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2005-10-29 16:27:43 +00:00
parent 5412b02d50
commit 338b8dc301
1836 changed files with 114718 additions and 14057 deletions
+29
View File
@@ -0,0 +1,29 @@
/*
Make life easier for those porting old Berkeley style
code...
*/
#ifndef _BSD_MEM_H_
#define _BSD_MEM_H_
#ifndef USG /* when this is defined, these aren't needed */
#ifndef bcopy
#define bcopy(s, d, l) memmove(d, s, l)
#endif
#ifndef bzero
#define bzero(s, l) memset(s, 0, l)
#endif
#ifndef bcmp
#define bcmp(a, b, len) memcmp(a, b, len)
#endif
#ifndef index
#define index(str, chr) strchr(str, chr)
#endif
#ifndef rindex
#define rindex(str, chr) strrchr(str, chr)
#endif
#endif /* USG */
#endif /* _BSD_MEM_H_ */