зеркало из https://github.com/mozilla/gecko-dev.git
Bug 651947 - Build error on Windows in winEmbed.cpp:171 - missing type specifier - int assumed [r=bsmedberg]
This commit is contained in:
Родитель
21e7ef18b7
Коммит
4fa766bc2b
|
@ -166,18 +166,9 @@ int main(int argc, char *argv[])
|
|||
LoadString(ghInstanceApp, IDS_APP_TITLE, szTitle, MAX_LOADSTRING);
|
||||
MyRegisterClass(ghInstanceApp);
|
||||
|
||||
// Find the GRE (libxul). We are only using frozen interfaces, so we
|
||||
// should be compatible all the way up to (but not including) mozilla 2.0
|
||||
static const GREVersionRange vr = {
|
||||
"1.8a1",
|
||||
PR_TRUE,
|
||||
"2.0",
|
||||
PR_FALSE
|
||||
};
|
||||
|
||||
char path[_MAX_PATH];
|
||||
GetModuleFileName(ghInstanceApp, self, sizeof(self));
|
||||
lastslash = ns_strrpbrk(xpcomPath, "/\\");
|
||||
GetModuleFileName(ghInstanceApp, path, sizeof(path));
|
||||
char* lastslash = ns_strrpbrk(path, "/\\");
|
||||
if (!lastslash)
|
||||
return 7;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче