зеркало из https://github.com/mozilla/gecko-dev.git
fix build bustage on mac
This commit is contained in:
Родитель
511bb0d228
Коммит
667c084cc3
|
@ -843,7 +843,7 @@ wallet_ReadFromURLFieldToSchemaFile
|
||||||
/* open input stream */
|
/* open input stream */
|
||||||
nsSpecialSystemDirectory walletFile(nsSpecialSystemDirectory::OS_CurrentProcessDirectory);
|
nsSpecialSystemDirectory walletFile(nsSpecialSystemDirectory::OS_CurrentProcessDirectory);
|
||||||
walletFile += "res";
|
walletFile += "res";
|
||||||
walletFile += "wallet";
|
// walletFile += "wallet";
|
||||||
walletFile += filename;
|
walletFile += filename;
|
||||||
nsInputFileStream strm(walletFile);
|
nsInputFileStream strm(walletFile);
|
||||||
if (!strm.is_open()) {
|
if (!strm.is_open()) {
|
||||||
|
@ -1687,7 +1687,7 @@ wallet_PostEdit() {
|
||||||
/* open SchemaValue file */
|
/* open SchemaValue file */
|
||||||
nsSpecialSystemDirectory walletFile(nsSpecialSystemDirectory::OS_CurrentProcessDirectory);
|
nsSpecialSystemDirectory walletFile(nsSpecialSystemDirectory::OS_CurrentProcessDirectory);
|
||||||
walletFile += "res";
|
walletFile += "res";
|
||||||
walletFile += "wallet";
|
// walletFile += "wallet";
|
||||||
walletFile += "SchemaValue.tbl";
|
walletFile += "SchemaValue.tbl";
|
||||||
nsOutputFileStream strm(walletFile);
|
nsOutputFileStream strm(walletFile);
|
||||||
if (!strm.is_open()) {
|
if (!strm.is_open()) {
|
||||||
|
@ -1976,4 +1976,22 @@ WLLT_Capture(nsIDocument* doc, nsString field, nsString value) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
PUBLIC void
|
||||||
|
WLLT_PreEdit(nsIURL* url) {
|
||||||
|
}
|
||||||
|
|
||||||
|
PUBLIC void
|
||||||
|
WLLT_Prefill(nsIPresShell* shell, PRBool quick) {
|
||||||
|
}
|
||||||
|
|
||||||
|
PUBLIC void
|
||||||
|
WLLT_OKToCapture(PRBool * result, PRInt32 count, char* URLName) {
|
||||||
|
}
|
||||||
|
|
||||||
|
PUBLIC void
|
||||||
|
WLLT_Capture(nsIDocument* doc, nsString field, nsString value) {
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
Загрузка…
Ссылка в новой задаче