forked from BigfootDev/flatbuffers
Fix Android STLPort build.
Change-Id: Iceca7b8b455c8463d9b82b928332a875dee3d19e
This commit is contained in:
@@ -23,6 +23,11 @@
|
||||
|
||||
namespace flatbuffers {
|
||||
|
||||
// Pedantic warning free version of toupper().
|
||||
inline char ToUpper(char c) {
|
||||
return static_cast<char>(::toupper(c));
|
||||
}
|
||||
|
||||
static std::string GeneratedFileName(const std::string &path,
|
||||
const std::string &file_name) {
|
||||
return path + file_name + "_generated.h";
|
||||
|
||||
Reference in New Issue
Block a user