mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Work around old Bison versions not forward-declaring yyparse
Notably, macOS still ships 2.3 (from 2008)... Should fix #214
This commit is contained in:
@@ -34,6 +34,10 @@
|
||||
#include "helpers.h"
|
||||
#include "version.h"
|
||||
|
||||
// Old Bison versions (confirmed for 2.3) do not forward-declare `yyparse` in the generated header
|
||||
// Unfortunately, macOS still ships 2.3, which is from 2008...
|
||||
int yyparse(void);
|
||||
|
||||
size_t cldefines_index;
|
||||
size_t cldefines_numindices;
|
||||
size_t cldefines_bufsize;
|
||||
|
||||
Reference in New Issue
Block a user