mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-04 15:51:37 +00:00
fixing planetoid (mach-o) bustage... GCC 2.95.2 seems awfully picky!
This commit is contained in:
parent
05077396a4
commit
f711dd8a88
4
netwerk/cache/src/nsDiskCacheStreams.h
vendored
4
netwerk/cache/src/nsDiskCacheStreams.h
vendored
@ -43,7 +43,6 @@ class nsDiskCacheStreamIO : public nsIStreamIO {
|
||||
|
||||
// we're implementing nsIStreamIO to leverage the AsyncRead on the FileTransport thread
|
||||
|
||||
|
||||
public:
|
||||
nsDiskCacheStreamIO(nsDiskCacheBinding * binding);
|
||||
virtual ~nsDiskCacheStreamIO();
|
||||
@ -74,6 +73,9 @@ public:
|
||||
|
||||
private:
|
||||
|
||||
// GCC 2.95.2 requires this to be defined, although we never call it.
|
||||
nsDiskCacheStreamIO() { NS_NOTREACHED("oops"); }
|
||||
|
||||
nsresult OpenCacheFile(PRIntn flags, PRFileDesc ** fd);
|
||||
nsresult ReadCacheBlocks();
|
||||
nsresult FlushBufferToFile(PRBool clearBuffer);
|
||||
|
Loading…
x
Reference in New Issue
Block a user