mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-29 08:33:23 -05:00
attempt to fix compile with antlr3 v3.4
This commit is contained in:
parent
c072533264
commit
0c3712629d
@ -52,7 +52,12 @@ smartpl_parse_file(const char *file, struct playlist_info *pli)
|
|||||||
pSMARTPL2SQL sqlconv;
|
pSMARTPL2SQL sqlconv;
|
||||||
SMARTPL2SQL_playlist_return plreturn;
|
SMARTPL2SQL_playlist_return plreturn;
|
||||||
|
|
||||||
|
#if ANTLR3C_NEW_INPUT
|
||||||
|
input = antlr3FileStreamNew((pANTLR3_UINT8) file, ANTLR3_ENC_8BIT);
|
||||||
|
#else
|
||||||
input = antlr3AsciiFileStreamNew((pANTLR3_UINT8) file);
|
input = antlr3AsciiFileStreamNew((pANTLR3_UINT8) file);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
// The input will be created successfully, providing that there is enough memory and the file exists etc
|
// The input will be created successfully, providing that there is enough memory and the file exists etc
|
||||||
if (input == NULL)
|
if (input == NULL)
|
||||||
|
Loading…
Reference in New Issue
Block a user