mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-18 17:02:01 +00:00
Follow-up to moving ldap autocomplete code to mailnews/addrbook - remove some ifdefs and defines that are no longer required. Bug 263042. r=bsmedberg.
This commit is contained in:
parent
8900aa83bc
commit
b59a41efad
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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) \
|
||||
|
Loading…
x
Reference in New Issue
Block a user