зеркало из https://github.com/mozilla/gecko-dev.git
Tweak Mac build system to make nsLDAPAutoCompleteSession.cpp and friends compile when "options ldap" is on (bug 70933). r=peterv@netscape.com, sr=smfr@netscape.com.
This commit is contained in:
Родитель
0f48c84472
Коммит
22aa606422
|
@ -21,6 +21,16 @@
|
|||
*
|
||||
*/
|
||||
|
||||
|
||||
// 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 "nsLDAPAutoCompleteSession.h"
|
||||
#include "nsIComponentManager.h"
|
||||
#include "nsIConsoleService.h"
|
||||
|
@ -1017,3 +1027,5 @@ nsLDAPAutoCompleteSession::SetServerURL(nsILDAPURL * aServerURL)
|
|||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче