Fixing more bustage; apparently some compilers don't like default arguments unless they're in a declaration, not a definition.

git-svn-id: svn://10.0.0.236/trunk@236428 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jwalden%mit.edu
2007-09-21 08:12:07 +00:00
parent ddf249d5cc
commit b16d3df2d4

View File

@@ -43,11 +43,11 @@
/** NS_NewPipe2 reimplemented, because it's not exported by XPCOM */
nsresult NS_NewPipe2(nsIAsyncInputStream** input,
nsIAsyncOutputStream** output,
PRBool nonBlockingInput = PR_FALSE,
PRBool nonBlockingOutput = PR_FALSE,
size_t segmentSize = 0,
PRUint32 segmentCount = 0,
nsIMemory* segmentAlloc = nsnull)
PRBool nonBlockingInput,
PRBool nonBlockingOutput,
size_t segmentSize,
PRUint32 segmentCount,
nsIMemory* segmentAlloc)
{
nsCOMPtr<nsIPipe> pipe = do_CreateInstance("@mozilla.org/pipe;1");
if (!pipe)