Clang fixes

Cinders 2013-10-12 21:41:10 -06:00
parent 017cd12d52
commit 43c95a823a
3 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -40,4 +40,4 @@ std::string* getSystemResourceFolder();
std::string* getSystemExecutableFolder();
#endif LL_LLVFS_OBJC_H
#endif // LL_LLVFS_OBJC_H

View File

@ -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