mirror of
https://github.com/cc65/cc65.git
synced 2025-02-26 23:30:03 +00:00
Minor changes for MSC compatibility
git-svn-id: svn://svn.cc65.org/cc65/trunk@61 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
8f1688015b
commit
04dee08f58
@ -35,7 +35,14 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <unistd.h>
|
#if defined(_MSC_VER)
|
||||||
|
/* Microsoft compiler */
|
||||||
|
# include <io.h>
|
||||||
|
# define R_OK 4
|
||||||
|
#else
|
||||||
|
/* Anyone else */
|
||||||
|
# include <unistd.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "mem.h"
|
#include "mem.h"
|
||||||
#include "incpath.h"
|
#include "incpath.h"
|
||||||
|
@ -8,7 +8,14 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <unistd.h>
|
#if defined(_MSC_VER)
|
||||||
|
/* Microsoft compiler */
|
||||||
|
# include <io.h>
|
||||||
|
# define R_OK 4
|
||||||
|
#else
|
||||||
|
/* Anyone else */
|
||||||
|
# include <unistd.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "mem.h"
|
#include "mem.h"
|
||||||
#include "include.h"
|
#include "include.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user