From 494ba40c5edc6b333f2ff629f06e404a545e9e44 Mon Sep 17 00:00:00 2001 From: rdb Date: Mon, 11 Jun 2018 14:35:37 +0200 Subject: [PATCH] Fix compilation error on Android --- panda/src/express/virtualFileMountAndroidAsset.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/panda/src/express/virtualFileMountAndroidAsset.cxx b/panda/src/express/virtualFileMountAndroidAsset.cxx index b14edabb36..fa5fccece3 100644 --- a/panda/src/express/virtualFileMountAndroidAsset.cxx +++ b/panda/src/express/virtualFileMountAndroidAsset.cxx @@ -290,10 +290,10 @@ seekoff(streamoff off, ios_seekdir dir, ios_openmode which) { int whence; switch (dir) { - case ios_base::beg: + case std::ios_base::beg: whence = SEEK_SET; break; - case ios_base::cur: + case std::ios_base::cur: if (off == 0) { // Just requesting the current position, no need to void the buffer. return AAsset_seek(_asset, 0, SEEK_CUR) - n; @@ -305,7 +305,7 @@ seekoff(streamoff off, ios_seekdir dir, ios_openmode which) { } whence = SEEK_CUR; break; - case ios_base::end: + case std::ios_base::end: whence = SEEK_END; break; default: