From 04dee08f58ba21097a78dff03851e2b66631b58a Mon Sep 17 00:00:00 2001 From: cuz Date: Mon, 12 Jun 2000 12:32:39 +0000 Subject: [PATCH] Minor changes for MSC compatibility git-svn-id: svn://svn.cc65.org/cc65/trunk@61 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/ca65/incpath.c | 9 ++++++++- src/cc65/include.c | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/src/ca65/incpath.c b/src/ca65/incpath.c index 51554a830..287367169 100644 --- a/src/ca65/incpath.c +++ b/src/ca65/incpath.c @@ -35,7 +35,14 @@ #include #include -#include +#if defined(_MSC_VER) +/* Microsoft compiler */ +# include +# define R_OK 4 +#else +/* Anyone else */ +# include +#endif #include "mem.h" #include "incpath.h" diff --git a/src/cc65/include.c b/src/cc65/include.c index 8f7a35942..e68227fdf 100644 --- a/src/cc65/include.c +++ b/src/cc65/include.c @@ -8,7 +8,14 @@ #include #include -#include +#if defined(_MSC_VER) +/* Microsoft compiler */ +# include +# define R_OK 4 +#else +/* Anyone else */ +# include +#endif #include "mem.h" #include "include.h" -- 2.39.5