From 84066d5f1c3411d9be6ca71e778aeadb61f7f3b0 Mon Sep 17 00:00:00 2001 From: cuz Date: Fri, 9 Jun 2000 08:25:15 +0000 Subject: [PATCH] VC++ fixes git-svn-id: svn://svn.cc65.org/cc65/trunk@41 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/ar65/objfile.c | 10 +++++----- src/cl65/main.c | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/ar65/objfile.c b/src/ar65/objfile.c index c485c6e75..f24825098 100644 --- a/src/ar65/objfile.c +++ b/src/ar65/objfile.c @@ -35,11 +35,11 @@ #include #include -#ifdef __WATCOMC__ -/* Watcom has the file in the wrong directory */ +#if defined(__WATCOMC__) || defined(_MSC_VER) +/* The Windows compilers have the file in the wrong directory */ # include #else -# include /* FreeBSD needs this */ +# include /* FreeBSD needs this */ # include #endif #include @@ -55,11 +55,11 @@ /*****************************************************************************/ -/* Code */ +/* Code */ /*****************************************************************************/ - + static const char* GetModule (const char* Name) /* Get a module name from the file name */ { diff --git a/src/cl65/main.c b/src/cl65/main.c index 7a458a759..ea06e822f 100644 --- a/src/cl65/main.c +++ b/src/cl65/main.c @@ -38,7 +38,7 @@ #include #include #include -#ifdef __WATCOMC__ +#if defined(__WATCOMC__) || defined(_MSC_VER) # include /* DOS, OS/2 and Windows */ #else # include "spawn.h" /* All others */