[SDL Front] MSVC doesn't have an unistd.h system file, closest is io.h, this will fix building the SDL frontend with msvc again.
This commit is contained in:
parent
2ae72f38cd
commit
5019a20165
|
@ -470,8 +470,12 @@ int exprCol;
|
||||||
* down here because we want the user's section 1 to have been scanned first.
|
* down here because we want the user's section 1 to have been scanned first.
|
||||||
* The user has a chance to override it with an option.
|
* The user has a chance to override it with an option.
|
||||||
*/
|
*/
|
||||||
|
#ifndef __MSC_VER
|
||||||
|
#include <io.h>
|
||||||
|
#else
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef YY_EXTRA_TYPE
|
#ifndef YY_EXTRA_TYPE
|
||||||
#define YY_EXTRA_TYPE void*
|
#define YY_EXTRA_TYPE void*
|
||||||
|
|
Loading…
Reference in New Issue