** 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
#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 <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <stdarg.h>
+#include <cstdio>
+#include <cstdlib>
+#include <cstring>
+#include <cstdarg>
#define TRUE 1
#define FALSE 0
/* 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
/*----------------------------------------------------------------------*/
-#if defined(MICROSOFT) || ! defined(SIZEOF_INT)
+#if defined(MSVC) || ! defined(SIZEOF_INT)
#define SIZEOF_INT 4
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define PERIOD '.'
#define VERTBAR '|'
-#endif /* #ifndef ASCII_H */
+#endif /* #ifndef CTSUPPORT_H */