Fix VS2008 compile error in CefByteReadHandler::Seek due to missing abs(long long) function.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@786 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
parent
c0496ac63b
commit
10d1a71890
|
@ -31,7 +31,11 @@ int CefByteReadHandler::Seek(int64 offset, int whence) {
|
|||
rv = 0;
|
||||
break;
|
||||
case SEEK_END: {
|
||||
#if defined(OS_WIN)
|
||||
int64 offset_abs = _abs64(offset);
|
||||
#else
|
||||
int64 offset_abs = abs(offset);
|
||||
#endif
|
||||
if (offset_abs > size_)
|
||||
break;
|
||||
offset_ = size_ - offset_abs;
|
||||
|
|
Loading…
Reference in New Issue