]> git.sur5r.net Git - openldap/blobdiff - libraries/libmdb/midl.h
Get rid of AC_MEMCPY
[openldap] / libraries / libmdb / midl.h
index 479545f404b7727e8a030fc2c81506e19181845b..31a4b67bd2ce4907f33a3b8451e4f1b061f8c304 100644 (file)
@@ -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) )