Clang fixes
parent
017cd12d52
commit
43c95a823a
|
|
@ -185,6 +185,11 @@ protected:
|
|||
*/
|
||||
/*virtual*/ int sync();
|
||||
|
||||
// <FS:CR> Clang support
|
||||
#if LL_CLANG
|
||||
using llstdio_filebuf::xsputn;
|
||||
#endif
|
||||
// </FS:CR>
|
||||
std::streamsize xsgetn(char_type*, std::streamsize);
|
||||
std::streamsize xsputn(char_type*, std::streamsize);
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -40,4 +40,4 @@ std::string* getSystemResourceFolder();
|
|||
std::string* getSystemExecutableFolder();
|
||||
|
||||
|
||||
#endif LL_LLVFS_OBJC_H
|
||||
#endif // LL_LLVFS_OBJC_H
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ std::string* findSystemDirectory(NSSearchPathDirectory searchPathDirectory,
|
|||
{
|
||||
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
|
||||
|
||||
std::string *result;
|
||||
std::string *result = NULL;
|
||||
NSString *path = nil;
|
||||
|
||||
// Search for the path
|
||||
|
|
|
|||
Loading…
Reference in New Issue