From: cuz Date: Mon, 12 Jun 2000 12:32:39 +0000 (+0000) Subject: Minor changes for MSC compatibility X-Git-Tag: V2.12.0~3451 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=04dee08f58ba21097a78dff03851e2b66631b58a;p=cc65 Minor changes for MSC compatibility git-svn-id: svn://svn.cc65.org/cc65/trunk@61 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- 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"