MozillaThunderbird/mozilla-gcc44.patch

23 lines
706 B
Diff

Index: ./toolkit/xre/nsAppRunner.cpp
===================================================================
RCS file: /cvsroot/mozilla/toolkit/xre/nsAppRunner.cpp,v
retrieving revision 1.215
diff -u -p -6 -r1.215 nsAppRunner.cpp
--- ./toolkit/xre/nsAppRunner.cpp 17 Nov 2008 14:36:43 -0000 1.215
+++ ./toolkit/xre/nsAppRunner.cpp 27 Apr 2009 18:24:19 -0000
@@ -1456,13 +1456,13 @@ XRE_GetBinaryPath(const char* argv0, nsI
rv = NS_NewNativeLocalFile(nsDependentCString(info.name), PR_TRUE,
getter_AddRefs(lf));
if (NS_FAILED(rv))
return rv;
-#elif
+#else
#error Oops, you need platform-specific code here
#endif
NS_ADDREF(*aResult = lf);
return NS_OK;
}