From: Kevin M. Rosenberg Date: Wed, 6 Dec 2000 16:41:17 +0000 (+0000) Subject: r249: *** empty log message *** X-Git-Tag: debian-4.5.3-3~768 X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=commitdiff_plain;h=0aa7e912bb58a67d9952c83767ce244b974763ab r249: *** empty log message *** --- diff --git a/include/ctsupport.h b/include/ctsupport.h index ac3ffe0..ce05b3b 100644 --- a/include/ctsupport.h +++ b/include/ctsupport.h @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: ctsupport.h,v 1.9 2000/12/06 15:17:51 kevin Exp $ +** $Id: ctsupport.h,v 1.10 2000/12/06 16:41:17 kevin Exp $ ** ** ** This program is free software; you can redistribute it and/or modify @@ -33,17 +33,17 @@ #include "config.h" #endif -#ifdef _WIN32 +#ifdef MSVC #define snprintf _snprintf #endif #define STR_MAX_LEN 255 #define STR_SIZE STR_MAX_LEN+1 -#include -#include -#include -#include +#include +#include +#include +#include #define TRUE 1 #define FALSE 0 @@ -92,7 +92,7 @@ typedef struct timedate_st TIMEDATE; /* codes for open command */ -#if MICROSOFT +#ifdef MSVC #define OPEN_RDONLY O_RDONLY /* other system use standard codes */ #define OPEN_WRONLY O_WRONLY /* for binary */ #define OPEN_RDWR O_RDWR @@ -114,7 +114,7 @@ typedef struct timedate_st TIMEDATE; /*----------------------------------------------------------------------*/ -#if defined(MICROSOFT) || ! defined(SIZEOF_INT) +#if defined(MSVC) || ! defined(SIZEOF_INT) #define SIZEOF_INT 4 #define SIZEOF_LONG 4 #define SIZEOF_SHORT 2 @@ -345,4 +345,4 @@ unsigned int cio_kb_waitc(const char *astr, int beep); #define PERIOD '.' #define VERTBAR '|' -#endif /* #ifndef ASCII_H */ +#endif /* #ifndef CTSUPPORT_H */