VC++ fixes

git-svn-id: svn://svn.cc65.org/cc65/trunk@41 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2000-06-09 08:25:15 +00:00
parent f24375b241
commit 84066d5f1c
2 changed files with 6 additions and 6 deletions

View File

@ -35,11 +35,11 @@
#include <string.h>
#include <errno.h>
#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 <sys/utime.h>
#else
# include <sys/types.h> /* FreeBSD needs this */
# include <sys/types.h> /* FreeBSD needs this */
# include <utime.h>
#endif
#include <time.h>
@ -55,11 +55,11 @@
/*****************************************************************************/
/* Code */
/* Code */
/*****************************************************************************/
static const char* GetModule (const char* Name)
/* Get a module name from the file name */
{

View File

@ -38,7 +38,7 @@
#include <string.h>
#include <ctype.h>
#include <errno.h>
#ifdef __WATCOMC__
#if defined(__WATCOMC__) || defined(_MSC_VER)
# include <process.h> /* DOS, OS/2 and Windows */
#else
# include "spawn.h" /* All others */