mirror of
https://github.com/cc65/cc65.git
synced 2025-01-12 02:30:44 +00:00
VC++ fixes
git-svn-id: svn://svn.cc65.org/cc65/trunk@41 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
f24375b241
commit
84066d5f1c
@ -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 */
|
||||
{
|
||||
|
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user