S4: ldb_map modules uses defines that are reserved
commit95ce7dff20d5629eff16cc6f7527c542987d8eb0
authorTorgeir Lerkerød <torgeir.lerkerod@gmail.com>
Tue, 20 Oct 2009 16:33:25 +0000 (20 18:33 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 21 Oct 2009 13:46:38 +0000 (21 15:46 +0200)
tree990e8b5dd63118fbc7ff86248f6ac45303329cbe
parent6e5dad49d9cfc8e8a3fc6c1e60733d6e25865ef7
S4: ldb_map modules uses defines that are reserved

On OpenSolaris MAP_RENAME and friends are defined in <sys/mman.h> e.g. mmap and friends. So on these systems MAP_* have a meaning. Cleaned up LDB name space by adding LDB_ in front of MAP_* e.g. MAP_RENAME => LDB_MAP_RENAME

Signed-off-by: Torgeir Lerkerød <torgeir.lerkerod@gmail.com>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
source4/dsdb/samdb/ldb_modules/samba3sam.c
source4/dsdb/samdb/ldb_modules/simple_ldap_map.c
source4/lib/ldb/ldb_map/ldb_map.c
source4/lib/ldb/ldb_map/ldb_map.h
source4/lib/ldb/ldb_map/ldb_map_inbound.c
source4/lib/ldb/ldb_map/ldb_map_outbound.c