Merge "Provide size_t variant as a WAR for not using the same flex on Linux/Darwin."
diff --git a/include/mcld/Script/FlexLexer.h b/include/mcld/Script/FlexLexer.h
index f09ab20..1e49b83 100644
--- a/include/mcld/Script/FlexLexer.h
+++ b/include/mcld/Script/FlexLexer.h
@@ -141,6 +141,10 @@
protected:
virtual int LexerInput( char* buf, int max_size );
virtual void LexerOutput( const char* buf, int size );
+ /* BEGIN ANDROID WAR - Mac builds use size_t until we switch to prebuilts */
+ virtual size_t LexerInput( char* buf, size_t max_size );
+ virtual void LexerOutput( const char* buf, size_t size );
+ /* END ANDROID WAR */
virtual void LexerError( const char* msg );
void yyunput( int c, char* buf_ptr );