mirror of
https://github.com/visualboyadvance-m/visualboyadvance-m
synced 2025-10-05 23:52:49 +02:00
add unistd.h compat header for visual studio
Using:
https://stackoverflow.com/a/826027/262458
Revert 5019a201
.
Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
Submodule dependencies updated: 33a0af6701...d1e454edf0
@@ -470,12 +470,8 @@ 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*
|
||||||
|
Reference in New Issue
Block a user