From 5ef6c43acfb64f86efb6c6b08e95552743140ddc Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 14 Aug 2011 20:12:20 -0700 Subject: [PATCH] Get rid of AC_MEMCPY --- libraries/libmdb/midl.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libraries/libmdb/midl.h b/libraries/libmdb/midl.h index 479545f..31a4b67 100644 --- a/libraries/libmdb/midl.h +++ b/libraries/libmdb/midl.h @@ -17,8 +17,6 @@ #ifndef _MDB_MIDL_H_ #define _MDB_MIDL_H_ -#define AC_MEMCPY(dst,src,size) memmove(dst,src,size) - #define ID unsigned long #define NOID ((ID)~0) @@ -61,7 +59,7 @@ #define MDB_IDL_IS_ALL( range, ids ) ( (ids)[0] == NOID \ && (ids)[1] <= (range)[1] && (range)[2] <= (ids)[2] ) -#define MDB_IDL_CPY( dst, src ) (AC_MEMCPY( dst, src, MDB_IDL_SIZEOF( src ) )) +#define MDB_IDL_CPY( dst, src ) (memcpy( dst, src, MDB_IDL_SIZEOF( src ) )) #define MDB_IDL_ID( bdb, ids, id ) MDB_IDL_RANGE( ids, id, ((bdb)->bi_lastid) ) #define MDB_IDL_ALL( bdb, ids ) MDB_IDL_RANGE( ids, 1, ((bdb)->bi_lastid) )