1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-08 15:29:37 +00:00

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 <string.h>
#include <errno.h> #include <errno.h>
#ifdef __WATCOMC__ #if defined(__WATCOMC__) || defined(_MSC_VER)
/* Watcom has the file in the wrong directory */ /* The Windows compilers have the file in the wrong directory */
# include <sys/utime.h> # include <sys/utime.h>
#else #else
# include <sys/types.h> /* FreeBSD needs this */ # include <sys/types.h> /* FreeBSD needs this */
# include <utime.h> # include <utime.h>
#endif #endif
#include <time.h> #include <time.h>
@ -55,11 +55,11 @@
/*****************************************************************************/ /*****************************************************************************/
/* Code */ /* Code */
/*****************************************************************************/ /*****************************************************************************/
static const char* GetModule (const char* Name) static const char* GetModule (const char* Name)
/* Get a module name from the file name */ /* Get a module name from the file name */
{ {

View File

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