mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
If XP_MAC and NECKO are defined, we include nsJSProtocolHandler.cpp instead of using the rest of this file. This is to work around the fact we can't conditionally link against files without creating addition targets in the project. Once NECKO has landed, I'll change the project file and jsurl.cpp will go away.
This commit is contained in:
parent
b9eb79032b
commit
892efccd4f
@ -17,6 +17,9 @@
|
||||
*/
|
||||
|
||||
/* Code liberally stolen from mkmocha.h */
|
||||
#if defined(XP_MAC) && defined(NECKO)
|
||||
#include "nsJSProtocolHandler.cpp"
|
||||
#else
|
||||
|
||||
#include "xp.h"
|
||||
#include "plstr.h"
|
||||
@ -450,3 +453,6 @@ NET_InitJavaScriptProtocol(void)
|
||||
NET_RegisterProtocolImplementation(&mocha_proto_impl, MOCHA_TYPE_URL);
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif /* XP_MAC && NECKO */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user