diff --git a/mozilla/mailnews/addrbook/src/nsAbLDAPAutoCompFormatter.cpp b/mozilla/mailnews/addrbook/src/nsAbLDAPAutoCompFormatter.cpp index 09f4f9cab80..b3cdc4596ba 100644 --- a/mozilla/mailnews/addrbook/src/nsAbLDAPAutoCompFormatter.cpp +++ b/mozilla/mailnews/addrbook/src/nsAbLDAPAutoCompFormatter.cpp @@ -37,15 +37,6 @@ * * ***** END LICENSE BLOCK ***** */ -// Work around lack of conditional build logic in codewarrior's -// build system. The MOZ_LDAP_XPCOM preprocessor symbol is only -// defined on Mac because noone else needs this weirdness; thus -// the XP_MAC check first. This conditional encloses the entire -// file, so that in the case where the ldap option is turned off -// in the mac build, a dummy (empty) object will be generated. -// -#if !defined(XP_MAC) || defined(MOZ_LDAP_XPCOM) - #include "nsAbLDAPAutoCompFormatter.h" #include "nsIAutoCompleteResults.h" #include "nsIServiceManager.h" @@ -742,5 +733,3 @@ nsAbLDAPAutoCompFormatter::SetCommentFormat(const nsAString & return NS_OK; } - -#endif diff --git a/mozilla/mailnews/addrbook/src/nsLDAPAutoCompleteSession.cpp b/mozilla/mailnews/addrbook/src/nsLDAPAutoCompleteSession.cpp index e6cffe10c63..c86368313ca 100644 --- a/mozilla/mailnews/addrbook/src/nsLDAPAutoCompleteSession.cpp +++ b/mozilla/mailnews/addrbook/src/nsLDAPAutoCompleteSession.cpp @@ -38,15 +38,6 @@ * * ***** END LICENSE BLOCK ***** */ -// Work around lack of conditional build logic in codewarrior's -// build system. The MOZ_LDAP_XPCOM preprocessor symbol is only -// defined on Mac because noone else needs this weirdness; thus -// the XP_MAC check first. This conditional encloses the entire -// file, so that in the case where the ldap option is turned off -// in the mac build, a dummy (empty) object will be generated. -// -#if !defined(XP_MAC) || defined(MOZ_LDAP_XPCOM) - #include "nsString.h" #include "nsLDAPAutoCompleteSession.h" #include "nsIComponentManager.h" @@ -1654,5 +1645,3 @@ nsLDAPAutoCompleteSession::SetSearchClientControls(nsIMutableArray *aControls) mSearchClientControls = aControls; return NS_OK; } - -#endif diff --git a/mozilla/xpfe/components/build/Makefile.in b/mozilla/xpfe/components/build/Makefile.in index eb36d64723a..d5d8d20abca 100644 --- a/mozilla/xpfe/components/build/Makefile.in +++ b/mozilla/xpfe/components/build/Makefile.in @@ -90,11 +90,6 @@ endif CPPSRCS = nsModule.cpp -ifdef MOZ_LDAP_XPCOM -REQUIRES += mozldap -DEFINES += -DMOZ_LDAP_XPCOM -endif - ifdef MOZ_PERF_METRICS EXTRA_DSO_LIBS += mozutil_s endif diff --git a/mozilla/xpfe/components/build2/Makefile.in b/mozilla/xpfe/components/build2/Makefile.in index 2c95cc77728..d8868a21fe2 100644 --- a/mozilla/xpfe/components/build2/Makefile.in +++ b/mozilla/xpfe/components/build2/Makefile.in @@ -73,11 +73,6 @@ REQUIRES = xpcom \ CPPSRCS = nsModule.cpp -ifdef MOZ_LDAP_XPCOM -REQUIRES += mozldap -DEFINES += -DMOZ_LDAP_XPCOM -endif - SHARED_LIBRARY_LIBS = \ $(DIST)/lib/$(LIB_PREFIX)windowds_s.$(LIB_SUFFIX) \ $(DIST)/lib/$(LIB_PREFIX)downloadmanager_s.$(LIB_SUFFIX) \