summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-09-18 06:20:28 +0000
committerJeremy Allison <jra@samba.org>2001-09-18 06:20:28 +0000
commit36a6611da2820da3635a8158dd26f41732b5b4fd (patch)
treedc2816d20c720c47c331322c9656a77bc0308a14 /source3/include
parent15a6649c01195f2b385fbfd7e54279c1acc3a878 (diff)
downloadsamba-36a6611da2820da3635a8158dd26f41732b5b4fd.tar.gz
samba-36a6611da2820da3635a8158dd26f41732b5b4fd.tar.bz2
samba-36a6611da2820da3635a8158dd26f41732b5b4fd.zip
Use structure copy to fix unaligned accesses on 64bit architectures on
Linux. Jeremy. (This used to be commit b4b891279b6292237113456f1bb0d4393f1f9af1)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 8cb587209c..9b56c8a477 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -753,7 +753,7 @@ typedef struct smb_wpasswd {
#define MAP_FILE 0
#endif
-#if (!defined(WITH_NISPLUS) && !defined(WITH_LDAP) && !defined(WITH_TDBPWD))
+#if (!defined(WITH_NISPLUS) && !defined(WITH_LDAP) && !defined(WITH_TDBSAM))
#define USE_SMBPASS_DB 1
#endif